class DisplaySettings

Defined at line 2482 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const bool & auto_brightness ()

Auto brightness enabled.

Defined at line 2489 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_auto_brightness ()

Defined at line 2493 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool * mutable_auto_brightness ()

Auto brightness enabled.

Defined at line 2498 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_auto_brightness ()

Defined at line 2506 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const 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.

Defined at line 2516 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_brightness_value ()

Defined at line 2520 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

float * mutable_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.

Defined at line 2526 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_brightness_value ()

Defined at line 2534 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const ::fuchsia::settings::LowLightMode & low_light_mode ()

The low light mode state of the device.

Defined at line 2543 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_low_light_mode ()

Defined at line 2547 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

::fuchsia::settings::LowLightMode * mutable_low_light_mode ()

The low light mode state of the device.

Defined at line 2552 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_low_light_mode ()

Defined at line 2560 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const bool & screen_enabled ()

Whether the screen is enabled.

Defined at line 2569 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_screen_enabled ()

Defined at line 2573 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool * mutable_screen_enabled ()

Whether the screen is enabled.

Defined at line 2578 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_screen_enabled ()

Defined at line 2586 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_theme ()

Defined at line 2599 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

::fuchsia::settings::Theme * mutable_theme ()

Theme to be used for the device's user interface.

Defined at line 2604 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_theme ()

Defined at line 2612 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const float & adjusted_auto_brightness ()

Brightness value to adjust auto-brightness to [0.0 - 1.0].

Defined at line 2621 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_adjusted_auto_brightness ()

Defined at line 2625 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

float * mutable_adjusted_auto_brightness ()

Brightness value to adjust auto-brightness to [0.0 - 1.0].

Defined at line 2630 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_adjusted_auto_brightness ()

Defined at line 2638 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

DisplaySettings & set_auto_brightness (bool _value)
DisplaySettings & set_brightness_value (float _value)
DisplaySettings & set_low_light_mode (::fuchsia::settings::LowLightMode _value)
DisplaySettings & set_screen_enabled (bool _value)
DisplaySettings & set_theme (::fuchsia::settings::Theme _value)
DisplaySettings & set_adjusted_auto_brightness (float _value)
void DisplaySettings ()
void DisplaySettings (DisplaySettings && other)
const ::fuchsia::settings::Theme & theme ()

Theme to be used for the device's user interface.

Defined at line 2595 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void ~DisplaySettings ()
DisplaySettings & operator= (DisplaySettings && other)
::std::unique_ptr<DisplaySettings> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, DisplaySettings * _value, size_t _offset)
zx_status_t Clone (DisplaySettings * _result)