HeadphoneApplicatorConfiguration

class HeadphoneApplicatorConfiguration(val onIsAbsoluteVolumeSupported: suspend () -> IsAbsoluteVolumeSupportedResponse, val onSendHearingTestStartCommand: suspend () -> SendHearingTestStartCommandResponse, val onSendHearingTestEndCommand: suspend () -> SendHearingTestEndCommandResponse)

Represents the configuration supplied for adjusting the volume during a hearing test.

Since

10.2.0

Constructors

Link copied to clipboard
constructor(onIsAbsoluteVolumeSupported: suspend () -> IsAbsoluteVolumeSupportedResponse, onSendHearingTestStartCommand: suspend () -> SendHearingTestStartCommandResponse, onSendHearingTestEndCommand: suspend () -> SendHearingTestEndCommandResponse)

Properties

Link copied to clipboard

A function that returns whether the connected headphone supports Bluetooth Absolute Volume.

Link copied to clipboard

A function that sends a command to the connected headphone to end the hearing test volume adjustment sequence.

Link copied to clipboard

A function that sends a command to the connected headphone to start the hearing test volume adjustment sequence.