template <>
class Server
Defined at line 334 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/cpp/natural_messaging.h
Public Methods
void GetStateNormalized (GetStateNormalizedCompleter::Sync & completer)
Gets the current backlight brightness as a percentage value between 0.0
and 1.0
void Server ()
Defined at line 337 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/cpp/natural_messaging.h
void SetStateNormalized (SetStateNormalizedRequest & request, SetStateNormalizedCompleter::Sync & completer)
Sets the current backlight brightness as a percentage value between 0.0
and 1.0
void GetStateAbsolute (GetStateAbsoluteCompleter::Sync & completer)
Gets the current backlight brightness in nits
void SetStateAbsolute (SetStateAbsoluteRequest & request, SetStateAbsoluteCompleter::Sync & completer)
Sets the current backlight brightness in nits.
void GetMaxAbsoluteBrightness (GetMaxAbsoluteBrightnessCompleter::Sync & completer)
Gets the maximum supported backlight brightness in nits, if known.
Otherwise returns error ZX_ERR_NOT_SUPPORTED.
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~Server ()
Defined at line 338 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/cpp/natural_messaging.h