class BatteryInfoWatcherOnChangeBatteryInfoRequest

Defined at line 530 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/natural_types.h

Public Methods

void BatteryInfoWatcherOnChangeBatteryInfoRequest (Storage_ storage)
void BatteryInfoWatcherOnChangeBatteryInfoRequest (::fuchsia_power_battery::BatteryInfo info, ::zx::eventpair wake_lease)
void BatteryInfoWatcherOnChangeBatteryInfoRequest ()

Default constructs a |BatteryInfoWatcherOnChangeBatteryInfoRequest| only if all of its members are default constructible.

Defined at line 541 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/natural_types.h

void BatteryInfoWatcherOnChangeBatteryInfoRequest (BatteryInfoWatcherOnChangeBatteryInfoRequest && )

Defined at line 544 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/natural_types.h

const ::fuchsia_power_battery::BatteryInfo & info ()
::fuchsia_power_battery::BatteryInfo & info ()
BatteryInfoWatcherOnChangeBatteryInfoRequest & info (::fuchsia_power_battery::BatteryInfo value)

Setter for info.

BatteryInfoWatcherOnChangeBatteryInfoRequest & operator= (BatteryInfoWatcherOnChangeBatteryInfoRequest && )

Defined at line 545 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/natural_types.h

const ::zx::eventpair & wake_lease ()

Optional wake lease to prevent system suspension during power state transitions.

Provided: When charge_source changes (device placed on or removed from charger).

Not Provided: For the initial status update, battery level changes, or charging

current updates, etc.

This lease is intended for short-term 'baton passing' and should be released quickly.

::zx::eventpair & wake_lease ()

Optional wake lease to prevent system suspension during power state transitions.

Provided: When charge_source changes (device placed on or removed from charger).

Not Provided: For the initial status update, battery level changes, or charging

current updates, etc.

This lease is intended for short-term 'baton passing' and should be released quickly.

BatteryInfoWatcherOnChangeBatteryInfoRequest & wake_lease (::zx::eventpair value)

Optional wake lease to prevent system suspension during power state transitions.

Provided: When charge_source changes (device placed on or removed from charger).

Not Provided: For the initial status update, battery level changes, or charging

current updates, etc.

This lease is intended for short-term 'baton passing' and should be released quickly.

void BatteryInfoWatcherOnChangeBatteryInfoRequest (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits