class Audio

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

Settings related to audio.

Supported SettingsEpitaph enums:

REQUEST_NOT_SUPPORTED, INTERNAL_SERVICE_ERROR, PERSISTENT_STORAGE_ERROR

Public Members

static const char[] Name_

Public Methods

void ~Audio ()
void Watch (WatchCallback callback)

Gets the current [AudioSettings]. 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 Watch2 (Watch2Callback callback)

Gets the current [AudioSettings2]. 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::AudioSettings settings, SetCallback callback)

Sets audio settings. Any field not explicitly set in the table performs a

no-op, and will not make any changes.

void Set2 (::fuchsia::settings::AudioSettings2 settings, Set2Callback callback)

Sets audio settings. Only table fields that are set will lead to any changes; otherwise

existing settings are unchanged.

Protected Methods

void handle_unknown_method (uint64_t ordinal, bool method_has_response)

Friends

class Audio_Stub