class ScanResultWatcher
Defined at line 15795 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
Represents an active scan procedure. This protocol remains valid for the
duration of a scan and can be used to obtain scan results. The client can
close the protocol to stop scanning. If a scan is stopped by the system, the
protocol will be closed with the epitaph `CANCELED` to communicate this to
the client.
Public Methods
void ~ScanResultWatcher ()
void Watch (WatchCallback callback)
Returns a list of all LE peers that satisfy the filters indicated in
`ScanOptions`. The first response(s) will return matching discovered
peers immediately. Subsequent calls receive a response only when peers
have been scanned or updated since the last call. If a second call to
`Watch` is erronously sent while one call is already pending, the scan
will be canceled and the protocol will be closed.
- response `updated` Peers that were added or updated since the last
call to Watch().