class PairingStateWatcher
Defined at line 4133 of file fidling/gen/sdk/fidl/fuchsia.weave/fuchsia.weave/hlcpp/fuchsia/weave/cpp/fidl.h
Watches for changes in pairing state in Weave. Retrieved from
[`fuchsia.weave/Stack.GetPairingStateWatcher`].
Public Methods
void ~PairingStateWatcher ()
void WatchPairingState (WatchPairingStateCallback callback)
Returns the state of pairing.
First call returns the current pairing state or blocks until the pairing
state is available. Subsequent calls will block until the pairing state
changes.
Calling WatchPairingState when a previous call is still pending will cause
the channel to be closed with `ZX_ERR_BAD_STATE`.