Package-level declarations

Types

Link copied to clipboard
class HeadphoneApplicator @MsdkInternalApi constructor(val isAbsoluteVolumeSupported: suspend () -> IsAbsoluteVolumeSupportedResponse, val sendHearingTestStartCommand: suspend () -> SendHearingTestStartCommandResponse, val sendHearingTestEndCommand: suspend () -> SendHearingTestEndCommandResponse)

Facilitates interaction with the connected headphone.

Link copied to clipboard
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.

Link copied to clipboard

Receives notifications from the connected headphone, as triggered by partner apps.

Link copied to clipboard
data class IsAbsoluteVolumeSupportedResponse(val isAbsoluteVolumeSupported: Boolean)

Represents the response to a request to determine whether the connected headphone supports Bluetooth Absolute Volume.

Link copied to clipboard
class MimiConnectedHeadphone @MsdkInternalApi constructor(val headphoneIdentifier: MimiHeadphoneIdentifier, val notificationReceiver: HeadphoneNotificationReceiver, applicator: HeadphoneApplicator?)

Represents a connected, Mimi-capable headphone.

Link copied to clipboard
data class SendHearingTestEndCommandResponse(val headphoneVolume: Int)

Represents the response to a request to send a command to the connected headphone to end the hearing test volume adjustment sequence.

Link copied to clipboard
data class SendHearingTestStartCommandResponse(val headphoneVolume: Int)

Represents the response to a request to send a command to the connected headphone to start the hearing test volume adjustment sequence.