template <>
class WireSyncClientImpl
Defined at line 1015 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/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_hardware_backlight::Device>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_hardware_backlight::Device::GetStateNormalized> GetStateNormalized ()
Gets the current backlight brightness as a percentage value between 0.0
and 1.0
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_backlight::Device::SetStateNormalized> SetStateNormalized (const ::fuchsia_hardware_backlight::wire::State & state)
Sets the current backlight brightness as a percentage value between 0.0
and 1.0
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_backlight::Device::GetStateAbsolute> GetStateAbsolute ()
Gets the current backlight brightness in nits
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_backlight::Device::SetStateAbsolute> SetStateAbsolute (const ::fuchsia_hardware_backlight::wire::State & state)
Sets the current backlight brightness in nits.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_backlight::Device::GetMaxAbsoluteBrightness> GetMaxAbsoluteBrightness ()
Gets the maximum supported backlight brightness in nits, if known.
Otherwise returns error ZX_ERR_NOT_SUPPORTED.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.