class Provider

Defined at line 699 of file fidling/gen/sdk/fidl/fuchsia.ui.activity/fuchsia.ui.activity/hlcpp/fuchsia/ui/activity/cpp/fidl.h

The Provider protocol offers a subscription interface through

which clients can watch for changes in the system's activity state.

Public Members

static const char[] Name_

Public Methods

void ~Provider ()
void WatchState (::fidl::InterfaceHandle< ::fuchsia::ui::activity::Listener> listener)

Subscribe to changes in the system's state.

The server will always invoke listener.OnStateChanged at least once with

the initial state, and after that invoke listener.OnStateChanged

whenever the system's state changes.