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

PlaybackType

PlaybackType

enum PlaybackType : Enum<PlaybackType>
Playback type of the animation. This is used to determine how the animation is played.

Entries

NameSummary
LOOP
Restarts the animation at the beginning when it finishes
CLAMP
Plays animation once and then freezes at last keyframe
BOUNCE
Starts playing animation forward and then in reverse when it finishes
REVERSE_LOOP
Plays animation in reverse forever

Types

NameSummary
Companion
object Companion

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int
type
val type: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): PlaybackType
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<PlaybackType>
Returns an array containing the constants of this enum type, in the order they’re declared.

Companion

object Companion

Functions

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