AudioDeviceUnavailable

data class AudioDeviceUnavailable(val device: String, val detail: String) : PlaybackError

The audio output device the player was bound to cannot be opened: it has gone away, or the platform does not let an application choose one. A bound device that disappears during playback fails the player with this error too. device is the id the player was given.

Constructors

Link copied to clipboard
constructor(device: String, detail: String)

Properties

Link copied to clipboard
open val cause: Throwable? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val message: String

Functions

Link copied to clipboard
override fun toString(): String

The type and the message, with every URI cut to its file name. Final, so no subclass prints its fields: a data class would print a signed URL whole, and errors are what apps log.