class Setup

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

Settings that influence the device's setup behavior.

Supported SettingsEpitaph enums:

REQUEST_NOT_SUPPORTED, INTERNAL_SERVICE_ERROR, PERSISTENT_STORAGE_ERROR

Public Members

static const char[] Name_

Public Methods

void ~Setup ()
void Watch (WatchCallback callback)

Gets the current [SetupSettings]. Returns immediately on first call;

subsequent calls return when the value changes.

If this call fails, it is considered a fatal error and the channel

will be closed.

void Set (::fuchsia::settings::SetupSettings settings, bool reboot_device, SetCallback callback)

Changes the settings specified in [SetupSettings]. Any field not set in

the table will not perform any system operation. An error will be

returned if the provided settings is an invalid change (for example, if

it is empty).