IviPlaybackState

@IviExperimental(reasons = [])
sealed class IviPlaybackState : Parcelable

The current state of playback for a given media source.

Transposes the raw value from PlaybackState, into a proper Kotlin enum.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class ERROR(val errorCode: Int, val errorMessage: String?) : IviPlaybackState

State when the player is in error state. This state can be temporary or permanent, depending on the source's implementation and type of error.

Link copied to clipboard

State when the player is idle, and needs configuration to start playback.

Link copied to clipboard

State when the player's playback is paused.

Link copied to clipboard

State when the player's playback is ongoing.

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard