Package-level declarations

Types

Link copied to clipboard
interface AudioOutput

A device capable of playing audio.

Link copied to clipboard

Audio Output Repository for identifying available audio devices in a simple manner.

Link copied to clipboard

Support for launching the user directly into the bluetooth settings page in order to connect to a headset.

Link copied to clipboard

Support for launching the system output switcher.

Link copied to clipboard
class SystemAudioRepository(application: Context, mediaRouter: MediaRouter, selector: MediaRouteSelector = MediaRouteSelector.Builder().build()) : AudioOutputRepository, VolumeRepository

Audio Repository for identifying and controlling available audio devices in a simple manner.

Link copied to clipboard

A state repository for audio volume, typically the system AudioManager, but possibly a remote app in paired situations.

Link copied to clipboard
data class VolumeState(val current: Int, val max: Int, val min: Int = 0)

Data class holding the current state of the volume system.