SpeakerAudioPlayback

The SpeakerAudioPlayback class handles audio playback through the device's speakers.

Properties

Link copied to clipboard
val id: Int

Returns the unique identifier associated with the source.

Link copied to clipboard

Returns the name assigned to the source.

Link copied to clipboard
val type: Type

Returns the type of the source.

Functions

Link copied to clipboard
open override fun initPlayback()

Initializes the playback device.

Link copied to clipboard
open override fun release()

Releases and cleans up resources associated with the AudioPlayback instance.

Link copied to clipboard
open override fun toString(): String

Returns the name of the source in the form of a string.