class Status

Defined at line 5299 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/hlcpp/fuchsia/power/broker/cpp/fidl.h

Provides read-only access to the current PowerLevel of an element and the

ability to watch changes to an element's power level. A new channel to

this protocol can be obtained by calling OpenStatus on the element's

ElementControl channel (and passed to other clients who need access

to the element's current power level).

Public Methods

void ~Status ()
void WatchPowerLevel (WatchPowerLevelCallback callback)

Returns the current power level for this element. The first call on

this channel will return immediately. Subsequent calls will block until

the current power level has changed.

Protected Methods

void handle_unknown_method (uint64_t ordinal, bool method_has_response)

Friends

class Status_Stub