template <>

class NaturalClientImpl

Defined at line 8747 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_messaging.h

Public Methods

::fit::result< ::fidl::OneWayError> RegisterListener (::fidl::Request< ::fuchsia_media::UsageGainReporter::RegisterListener> request)

Connects a listener to a stream of usage gain setting changes

for `usage` on the device identified by `device_token`. Usage

Gain is not set directly by any client; it is a translation of

the usage volume setting for each device, summed with active

muting/ducking gain adjustments.

Devices may map the same volume level to different dbfs, so

a `device_unique_id` is needed to identify the device.

`AudioDeviceEnumerator` provides programmatic access to devices

and their unique ids if it is necessary for a client to select

an id at runtime.

::fit::result< ::fidl::OneWayError> RegisterListener2 (::fidl::Request< ::fuchsia_media::UsageGainReporter::RegisterListener2> request)

Connects a listener to a stream of usage gain setting changes

for `usage` on the device identified by `device_token`. Usage

Gain is not set directly by any client; it is a translation of

the usage volume setting for each device, summed with active

muting/ducking gain adjustments.

Devices may map the same volume level to different dbfs, so

a `device_unique_id` is needed to identify the device.

`AudioDeviceEnumerator` provides programmatic access to devices

and their unique ids if it is necessary for a client to select

an id at runtime.