class Privacy

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

Settings related to privacy.

Supported SettingsEpitaph enums:

REQUEST_NOT_SUPPORTED, INTERNAL_SERVICE_ERROR, PERSISTENT_STORAGE_ERROR

Public Members

static const char[] Name_

Public Methods

void ~Privacy ()
void Watch (WatchCallback callback)

Notifies of a change in privacy settings.

On a given connection, the server will return immediately if this is the first call made,

or if the `settings` value has changed since a previous call. Otherwise, the server will

wait on a value change before returning the new value. This follows the hanging get pattern.

If this call fails, it is considered a fatal error and the channel will be closed.

void Set (::fuchsia::settings::PrivacySettings settings, SetCallback callback)

Sets the privacy settings.

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