5 Commits
Author SHA1 Message Date
Francis Tsui 295f480dc1 Add AdvertisementCapabilities to Nearby Share advertisements.
PiperOrigin-RevId: 874144304
2026-02-23 10:32:11 -08:00
Anay Wadhera c3924eb8df Add car and foldable types to target types.
PiperOrigin-RevId: 641248360
2024-06-07 07:50:45 -07:00
Anay Wadhera a882f5816d Block targets with the same vendor ID
This CL does many things:
1) Adds a new API for RegisterSendSurface to specify vendor ID and whether we should block targets with the same vendor ID.
2) Refactors the sending surface callback observer lists to maps, mirroring Android.
3) Uses WrappedShareTargetDiscoveredCallback, which wraps the passed-in `ShareTargetDiscoveredCallback` and adds blocking on vendor ID (the actual point of this CL).

PiperOrigin-RevId: 639969139
2024-06-03 17:50:47 -07:00
Anay Wadhera ffda9da870 Add TLV parsing and vendor ID tlv to C++ advertisement.
PiperOrigin-RevId: 635936457
2024-05-21 14:54:28 -07:00
Anay Wadhera 4472598508 Create advertisement class testing
PiperOrigin-RevId: 635621550
2024-05-20 17:47:22 -07:00