class State

Defined at line 50 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/cpp/natural_types.h

Public Methods

void State (Storage_ storage)
void State (bool backlight_on, double brightness)
void State ()

Default constructs a |State| only if all of its members are default constructible.

Defined at line 61 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/cpp/natural_types.h

void State (State && )

Defined at line 64 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/cpp/natural_types.h

void State (const State & other)
State & operator= (State && )

Defined at line 65 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/cpp/natural_types.h

State & operator= (const State & other)
bool operator== (const State & other)
bool operator!= (const State & other)
bool backlight_on ()
bool & backlight_on ()
State & backlight_on (bool value)

Setter for backlight_on.

double brightness ()

`brightness` can either be:

1. The unitless brightness value on a linear scale where 0.0 is the minimum

brightness and 1.0 is the maximum brightness - represents the current /

desired brightness as a percentage within the supported range. Used

by the `GetStateNormalized` / `SetStateNormalized` calls. The maximum

brightness that can be set using `SetStateNormalized` is

GetBrightnessScale() * GetMaxAbsoluteBrightness().

2. Absolute brightness in nits. Used by the `GetStateAbsolute` /

`SetStateAbsolute` calls.

double & brightness ()

`brightness` can either be:

1. The unitless brightness value on a linear scale where 0.0 is the minimum

brightness and 1.0 is the maximum brightness - represents the current /

desired brightness as a percentage within the supported range. Used

by the `GetStateNormalized` / `SetStateNormalized` calls. The maximum

brightness that can be set using `SetStateNormalized` is

GetBrightnessScale() * GetMaxAbsoluteBrightness().

2. Absolute brightness in nits. Used by the `GetStateAbsolute` /

`SetStateAbsolute` calls.

State & brightness (double value)

`brightness` can either be:

1. The unitless brightness value on a linear scale where 0.0 is the minimum

brightness and 1.0 is the maximum brightness - represents the current /

desired brightness as a percentage within the supported range. Used

by the `GetStateNormalized` / `SetStateNormalized` calls. The maximum

brightness that can be set using `SetStateNormalized` is

GetBrightnessScale() * GetMaxAbsoluteBrightness().

2. Absolute brightness in nits. Used by the `GetStateAbsolute` /

`SetStateAbsolute` calls.

void State (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits