Project: /_project.yaml Book: /_book.yaml

fuchsia.settings

PROTOCOLS

Accessibility {:#Accessibility}

Defined in fuchsia.settings/accessibility.fidl

Modify or watch accessibility settings that are persisted.

Watch {:#Watch}

Gets the current value of all accessibility settings. Returns immediately on first call; subsequent calls return when any of the values change.

  • settings all current values of the accessibility settings.
  • see AccessibilitySettings for their meaning.

This call may fail if AccessibilitySettings are not accessible, possibly because of file system errors, not being supported on this product, or general service failures.

Request

Response

Set {:#Set}

Sets [AccessibilitySettings] settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.

Request

Response

Display {:#Display}

Defined in fuchsia.settings/display.fidl

Settings related to display

Watch {:#Watch}

Gets the current [DisplaySettings]. Returns immediately on first call; subsequent calls return when the value changes.

Request

Response

Set {:#Set}

Sets display settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.

Request

Response

DoNotDisturb {:#DoNotDisturb}

Defined in fuchsia.settings/do_not_disturb.fidl

Modify or watch do-not-disturb (DND) mode. While DND is active, distractions created by the device are reduced or eliminated. E.g. bootup is silent, incoming calls could be rejected or silent, and notifications could be paused, silent, or hidden. High-priority disruptions like alarms can be allowed.

Watch {:#Watch}

Gets the current DoNotDisturbSettings. Returns immediately on first call; subsequent calls return when the values change.

Request

Response

Set {:#Set}

Sets DoNotDisturbSettings settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.

Request

Response

Intl {:#Intl}

Defined in fuchsia.settings/intl.fidl

Settings related to internationalization such as locale, time zone, and temperature units.

Watch {:#Watch}

Gets the current [IntlSettings]. Returns immediately on first call; subsequent calls return when the value changes.

Request

Response

Set {:#Set}

Sets [IntlSettings] settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.

Request

Response

Privacy {:#Privacy}

Defined in fuchsia.settings/privacy.fidl

Watch {:#Watch}

Notifies of a change in privacy settings.

On a given connection, the first call will return the current settings value while subsequent calls will only return the new settings value upon a value change. This follows the hanging get pattern.

Request

Response

Set {:#Set}

Sets the privacy settings.

Any field not explicitly set in settings performs a no-op, and will not make any changes.

Request

Response

System {:#System}

Defined in fuchsia.settings/system.fidl

Settings related to the general system.

Watch {:#Watch}

Gets the current [SystemSettings]. Returns immediately on first call; subsequent calls return when the value changes.

Request

Response

Set {:#Set}

Changes the settings specified in [SystemSettings]. Any field not set in the table will not perform any system operation.

Request

Response

STRUCTS

Accessibility_Watch_Response {:#Accessibility_Watch_Response}

Defined in fuchsia.settings/generated

Accessibility_Set_Response {:#Accessibility_Set_Response}

Defined in fuchsia.settings/generated

Display_Watch_Response {:#Display_Watch_Response}

Defined in fuchsia.settings/generated

Display_Set_Response {:#Display_Set_Response}

Defined in fuchsia.settings/generated

Intl_Watch_Response {:#Intl_Watch_Response}

Defined in fuchsia.settings/generated

Intl_Set_Response {:#Intl_Set_Response}

Defined in fuchsia.settings/generated

Privacy_Watch_Response {:#Privacy_Watch_Response}

Defined in fuchsia.settings/generated

Privacy_Set_Response {:#Privacy_Set_Response}

Defined in fuchsia.settings/generated

System_Watch_Response {:#System_Watch_Response}

Defined in fuchsia.settings/generated

System_Set_Response {:#System_Set_Response}

Defined in fuchsia.settings/generated

ENUMS

ColorBlindnessType {:#ColorBlindnessType}

Type: uint32

Defined in fuchsia.settings/accessibility.fidl

CaptionFontFamily {:#CaptionFontFamily}

Type: uint32

Defined in fuchsia.settings/accessibility.fidl

Font family groups for closed captions, specified by 47 CFR §79.102(k).

EdgeStyle {:#EdgeStyle}

Type: uint32

Defined in fuchsia.settings/accessibility.fidl

Edge style for fonts as specified in 47 CFR §79.103(c)(7)

Error {:#Error}

Type: uint32

Defined in fuchsia.settings/settings.fidl

Common error code used across different settings.

LoginOverride {:#LoginOverride}

Type: uint32

Defined in fuchsia.settings/system.fidl

What preferred login behavior has been set.

TABLES

AccessibilitySettings {:#AccessibilitySettings}

Defined in fuchsia.settings/accessibility.fidl

Supported accessibility settings.

CaptionsSettings {:#CaptionsSettings}

Defined in fuchsia.settings/accessibility.fidl

What kind of sources get closed captions, and how they look.

CaptionFontStyle {:#CaptionFontStyle}

Defined in fuchsia.settings/accessibility.fidl

Font, size, and color of closed captions text.

DisplaySettings {:#DisplaySettings}

Defined in fuchsia.settings/display.fidl

DoNotDisturbSettings {:#DoNotDisturbSettings}

Defined in fuchsia.settings/do_not_disturb.fidl

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

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.

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.

IntlSettings {:#IntlSettings}

Defined in fuchsia.settings/intl.fidl

Collection of internationalization-related settings.

PrivacySettings {:#PrivacySettings}

Defined in fuchsia.settings/privacy.fidl

SystemSettings {:#SystemSettings}

Defined in fuchsia.settings/system.fidl

Settings related to the general system.

UNIONS

Accessibility_Watch_Result {:#Accessibility_Watch_Result}

Defined in fuchsia.settings/generated

Accessibility_Set_Result {:#Accessibility_Set_Result}

Defined in fuchsia.settings/generated

Display_Watch_Result {:#Display_Watch_Result}

Defined in fuchsia.settings/generated

Display_Set_Result {:#Display_Set_Result}

Defined in fuchsia.settings/generated

Intl_Watch_Result {:#Intl_Watch_Result}

Defined in fuchsia.settings/generated

Intl_Set_Result {:#Intl_Set_Result}

Defined in fuchsia.settings/generated

Privacy_Watch_Result {:#Privacy_Watch_Result}

Defined in fuchsia.settings/generated

Privacy_Set_Result {:#Privacy_Set_Result}

Defined in fuchsia.settings/generated

System_Watch_Result {:#System_Watch_Result}

Defined in fuchsia.settings/generated

System_Set_Result {:#System_Set_Result}

Defined in fuchsia.settings/generated