ControllerState

private enum ControllerState : Enum<MusicController.ControllerState>

Entries

Idle
Link copied to clipboard

As the name says. Timer will stop itself if it encounters this state.

Playing
Link copied to clipboard

Play a track to its end, then silence for a while, then choose another track

PlaySingle
Link copied to clipboard

Play a track to its end, then go Idle

Silence
Link copied to clipboard

Wait for a while in silence to start next track

Pause
Link copied to clipboard

Music fades to pause or is paused. Continue with chooseTrack or resume.

Shutdown
Link copied to clipboard

Fade out then stop

Functions

clone
Link copied to clipboard
protected fun clone(): Any
compareTo
Link copied to clipboard
operator override fun compareTo(other: MusicController.ControllerState): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
fun finalize()
getDeclaringClass
Link copied to clipboard
fun getDeclaringClass(): Class<MusicController.ControllerState>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

Sources

jvm source
Link copied to clipboard