fuchsia.devicesettings

PROTOCOLS

DeviceSettingsManager

Defined in fuchsia.devicesettings/devicesettings.fidl

Manager interface used to manage settings

GetInteger

Request

NameType
key string

Response

NameType
val int64
s Status

GetString

Request

NameType
key string

Response

NameType
val string
s Status

SetInteger

Returns false on database error and true on success.

Request

NameType
key string
val int64

Response

NameType
result bool

SetString

Returns false on database error and true on success.

Request

NameType
key string
val string

Response

NameType
result bool

Watch

Register a watcher to be called when a setting changes Returns Status::ok, Status::errInvalidSetting or Status::errUnknown

Request

NameType
key string
watcher DeviceSettingsWatcher

Response

NameType
s Status

DeviceSettingsWatcher

Defined in fuchsia.devicesettings/devicesettings.fidl

A watcher for device settings changes

OnChangeSettings

Request

NameType
type ValueType

ENUMS

Status

Type: uint8

Defined in fuchsia.devicesettings/devicesettings.fidl

NameValueDescription
ok 1
errNotSet 2
errInvalidSetting 3
errRead 4
errIncorrectType 5
errUnknown 6

ValueType

Type: uint8

Defined in fuchsia.devicesettings/devicesettings.fidl

NameValueDescription
number 1
text 2