class PeriodicAdvertisingSync
Defined at line 16573 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
Closed by the server when the sync fails to be established or is lost.
Public Methods
void ~PeriodicAdvertisingSync ()
void WatchAdvertisingReport (WatchAdvertisingReportCallback callback)
Returns the next advertising report(s). Hangs until the next advertisement is received.
Only one call may be pending at a time.
void SyncToSubevents (::fuchsia::bluetooth::le::PeriodicAdvertisingSyncSyncToSubeventsRequest PeriodicAdvertisingSyncSyncToSubeventsRequest, SyncToSubeventsCallback callback)
Synchronize to subevents of this periodic advertisement.
* error FAILED: The synchronization failed.
void Cancel ()
The server will end the synchronization and then close the protocol.
Synchronization will not be cancelled if other clients are synchronized to the same Periodic
Advertisement.
Synchronization can also be cancelled by closing the protocol on the client end.
Protected Methods
void handle_unknown_method (uint64_t ordinal, bool method_has_response)
Friends
class PeriodicAdvertisingSync_Stub