class Listener
Defined at line 786 of file fidling/gen/sdk/fidl/fuchsia.ui.activity/fuchsia.ui.activity/hlcpp/fuchsia/ui/activity/cpp/fidl.h
The Listener protocol subscribes to changes in the system's activity
state. Clients which care about the activity state of the system are
expected to implement this protocol and subscribe via Provider.WatchState.
Public Methods
void ~Listener ()
void OnStateChanged (::fuchsia::ui::activity::State state, int64_t transition_time, OnStateChangedCallback callback)
Callback that is invoked whenever the system state changes.
The Listener is expected to acknowledge each call explicitly and will
not receive new state until this acknowledgement is done.