class DoNotDisturbSettings

Defined at line 2721 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h

Settings related to do-not-disturb (DND) mode.

Public Methods

void DoNotDisturbSettings ()

Defined at line 2723 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h

void DoNotDisturbSettings (const DoNotDisturbSettings & other)

Defined at line 2724 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h

DoNotDisturbSettings & operator= (const DoNotDisturbSettings & other)

Defined at line 2725 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h

void DoNotDisturbSettings (DoNotDisturbSettings && other)

Defined at line 2726 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::DoNotDisturbSettings> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_settings::wire::DoNotDisturbSettings> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_settings::wire::DoNotDisturbSettings>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

DoNotDisturbSettings & operator= (DoNotDisturbSettings && other)

Defined at line 2727 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h

bool & user_initiated_do_not_disturb ()

If true, the device is in do-not-disturb (DND) mode. Change this value

if you're directly responding to a user-initiated event.

Note that the device could still be in DND mode even if this is set to

`false`, as [`night_mode_initiated_do_not_disturb`] might be `true`. To

actually disable DND mode, set both fields to `false`.

To know whether DND is enabled, you need to do a boolean OR of both

fields.

bool has_user_initiated_do_not_disturb ()
bool & night_mode_initiated_do_not_disturb ()

If true, the device is in do-not-disturb (DND) mode. Change this value

if you're trying to enable or disable DND based on a nightly schedule.

Note that the device could still be in DND mode even if this is set to

`false`, as [`user_initiated_do_not_disturb`] might be `true`. Do not

set that field to `false` unless you're directly responding to a

user-initiated event.

To know whether DND is enabled, you need to do a boolean OR of both

fields.

bool has_night_mode_initiated_do_not_disturb ()
void ~DoNotDisturbSettings ()

Defined at line 2729 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder