template <>
class WireSyncClientImpl
Defined at line 624 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_ui_display_singleton::DisplayPower>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_ui_display_singleton::DisplayPower::SetPowerMode> SetPowerMode (::fuchsia_ui_display_singleton::wire::PowerMode power_mode)
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.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.