AudioDevice

data class AudioDevice(val type: Int, val label: String, val id: String?, var isSelected: Boolean)

Represents an audio output device available on the current platform.

Constructors

Link copied to clipboard
constructor(type: Int, label: String, id: String?, isSelected: Boolean)

Properties

Link copied to clipboard
val id: String?

Opaque device identifier. Pass to switchAudioDevice to activate this device.

Link copied to clipboard

Whether this device is currently active.

Link copied to clipboard

Human-readable device name.

Link copied to clipboard
val type: Int

Platform-specific device type constant.