class DisplaySettings
Defined at line 2417 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
DisplaySettings are used to determine the output state of the display.
The display can be toggled between two modes, auto-brightness on and
auto-brightness off.
Adjusted_auto_brightness is used to set a specific brightness level for the
current lighting conditions. Auto-brightness will continue to make the
screen darker and brighter as the surrounding light changes.
Brightness_value is used in manual mode to set a specific brightness level
for the screen. This level will be maintained while in manual mode.
Public Methods
void DisplaySettings ()
Defined at line 2419 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
void DisplaySettings (const DisplaySettings & other)
Defined at line 2420 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
DisplaySettings & operator= (const DisplaySettings & other)
Defined at line 2421 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
void DisplaySettings (DisplaySettings && other)
Defined at line 2422 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_settings::wire::DisplaySettings> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_settings::wire::DisplaySettings> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_settings::wire::DisplaySettings>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
bool & auto_brightness ()
Auto brightness enabled.
bool has_auto_brightness ()
float & brightness_value ()
Manually set brightness value [0.0 - 1.0]. Not a number, infinity or
negative infinity will cause SetDisplayInfo to fail with INVALID_VALUE.
bool has_brightness_value ()
::fuchsia_settings::wire::LowLightMode & low_light_mode ()
The low light mode state of the device.
bool has_low_light_mode ()
DisplaySettings & operator= (DisplaySettings && other)
Defined at line 2423 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
bool & screen_enabled ()
Whether the screen is enabled.
bool has_screen_enabled ()
::fuchsia_settings::wire::Theme & theme ()
Theme to be used for the device's user interface.
bool has_theme ()
float & adjusted_auto_brightness ()
Brightness value to adjust auto-brightness to [0.0 - 1.0].
bool has_adjusted_auto_brightness ()
void ~DisplaySettings ()
Defined at line 2425 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder