PlaybackParameters

data class PlaybackParameters(val rate: Float = 1.0f, val loopMode: PlaybackState.LoopMode = LoopMode.NotLooping)

Parameters to configure playback

Constructors

Link copied to clipboard
constructor(rate: Float = 1.0f, loopMode: PlaybackState.LoopMode = LoopMode.NotLooping)

Properties

Link copied to clipboard

the LoopMode to apply when playback has completed

Link copied to clipboard
val rate: Float = 1.0f

the rate at which playback should be set. Should be a positive number. Defaults to 1.0.