class FakeListener
Defined at line 16 of file ../../src/sys/activity/fake_listener.h
Test fixture for faking a listener to the fuchsia.ui.activity.Provider API.
Public Methods
void FakeListener ()
Defined at line 18 of file ../../src/sys/activity/fake_listener.h
fidl::InterfaceHandle<fuchsia::ui::activity::Listener> NewHandle (async_dispatcher_t * dispatcher)
Creates a new handle which can be passed to fuchsia.ui.activity.Provider.WatchState
to register this listener to the provider.
Defined at line 22 of file ../../src/sys/activity/fake_listener.h
void OnStateChanged (fuchsia::ui::activity::State state, zx_time_t transition_time, OnStateChangedCallback callback)
fuchsia.ui.activity.Listener API
Defined at line 28 of file ../../src/sys/activity/fake_listener.h
const std::vector<StateChange> & StateChanges ()
Returns a list of state changes received by the listener.
Defined at line 41 of file ../../src/sys/activity/fake_listener.h