class TerminalStateWatcher

Defined at line 4538 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

Allows components to be notified when a transition to a terminal state begins.

Watchers will be given 'MAX_TERMINAL_STATE_WATCHER_RESPONSE_TIME_SECONDS' to return

before the system power state is changed. The channel will be used once to

send a notification to the watcher. Once the watcher responds or the timeout

expires, the channel will be closed by the client of TerminalStateWatcher.

Public Methods

void ~TerminalStateWatcher ()
void OnTerminalStateTransitionStarted (OnTerminalStateTransitionStartedCallback callback)

Protected Methods

void handle_unknown_method (uint64_t ordinal, bool method_has_response)

Friends

class TerminalStateWatcher_Stub