class DisplaySettings
Defined at line 1498 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/natural_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 1503 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/natural_types.h
void DisplaySettings (DisplaySettings && )
Defined at line 1504 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/natural_types.h
void DisplaySettings (Storage_ storage)
void DisplaySettings (const DisplaySettings & other)
DisplaySettings & operator= (const DisplaySettings & other)
bool operator== (const DisplaySettings & other)
bool operator!= (const DisplaySettings & other)
bool IsEmpty ()
const std::optional<bool> & auto_brightness ()
Auto brightness enabled.
::std::optional<bool> & auto_brightness ()
Auto brightness enabled.
DisplaySettings & auto_brightness (std::optional<bool> value)
Auto brightness enabled.
const std::optional<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.
::std::optional<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.
DisplaySettings & brightness_value (std::optional<float> value)
Manually set brightness value [0.0 - 1.0]. Not a number, infinity or
negative infinity will cause SetDisplayInfo to fail with INVALID_VALUE.
const std::optional< ::fuchsia_settings::LowLightMode> & low_light_mode ()
The low light mode state of the device.
::std::optional< ::fuchsia_settings::LowLightMode> & low_light_mode ()
The low light mode state of the device.
DisplaySettings & low_light_mode (std::optional< ::fuchsia_settings::LowLightMode> value)
The low light mode state of the device.
DisplaySettings & operator= (DisplaySettings && )
Defined at line 1505 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/natural_types.h
const std::optional<bool> & screen_enabled ()
Whether the screen is enabled.
::std::optional<bool> & screen_enabled ()
Whether the screen is enabled.
DisplaySettings & screen_enabled (std::optional<bool> value)
Whether the screen is enabled.
const std::optional< ::fuchsia_settings::Theme> & theme ()
Theme to be used for the device's user interface.
::std::optional< ::fuchsia_settings::Theme> & theme ()
Theme to be used for the device's user interface.
DisplaySettings & theme (std::optional< ::fuchsia_settings::Theme> value)
Theme to be used for the device's user interface.
const std::optional<float> & adjusted_auto_brightness ()
Brightness value to adjust auto-brightness to [0.0 - 1.0].
::std::optional<float> & adjusted_auto_brightness ()
Brightness value to adjust auto-brightness to [0.0 - 1.0].
DisplaySettings & adjusted_auto_brightness (std::optional<float> value)
Brightness value to adjust auto-brightness to [0.0 - 1.0].
void DisplaySettings (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits