API reference
API reference
Select your platform
No SDKs available
No versions available

PlaybackState

PlaybackState

enum PlaybackState : Enum<PlaybackState>
Playback state of the animation. This is used to determine whether the animation is playing or paused.

Entries

Types

NameSummary
Companion
object Companion

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int
state
val state: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): PlaybackState
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<PlaybackState>
Returns an array containing the constants of this enum type, in the order they’re declared.

Companion

object Companion

Functions

NameSummary
fromInt
fun fromInt(state: Int): PlaybackState
Did you find this page helpful?
Thumbs up icon
Thumbs down icon