class DisplayPower
Defined at line 1068 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/hlcpp/fuchsia/ui/display/singleton/cpp/fidl.h
Controls the power state of the default display device.
Public Members
static const char[] Name_
Public Methods
void ~DisplayPower ()
void SetPowerMode (::fuchsia::ui::display::singleton::PowerMode power_mode, SetPowerModeCallback callback)
Set the power state of the default connected display device to `power_mode`.
Errors:
- `ZX_ERR_NOT_FOUND`: There is no connected display.
- `ZX_ERR_NOT_SUPPORTED`: The default connected display driver or hardware
does not support the requested power mode.
- `ZX_ERR_INTERNAL`: Operation failed for another reason.
Protected Methods
void handle_unknown_method (uint64_t ordinal, bool method_has_response)
Friends
class DisplayPower_Stub