Settings

data class Settings(val playInBackground: Boolean = false, val playAfterDeviceUnavailable: Boolean = false)

Settings used for configuring a DefaultMediaManager

Constructors

Link copied to clipboard
constructor(playInBackground: Boolean = false, playAfterDeviceUnavailable: Boolean = false)

Properties

Link copied to clipboard

if true playback will continue after the device on which audio was playing becomes unavailable (e.g. headphones disconnect).

Link copied to clipboard

if true playback will resume when the app moves to the background. Note that this will not loop