SeekMode

SeekMode

enum SeekMode : Parcelable, Enum<SeekMode>

Represents the mode the player uses to seek.

Entries

ExactExact
For exact seeking.
ClosestSyncClosestSync
For seeking to the closest sync point.
PreviousSyncPreviousSync
For seeking to the sync point immediately before a requested seek position.
NextSyncNextSync
For seeking to the sync point immediately after a requested seek position.

Properties

NameSummary
entriesval entries: EnumEntries<SeekMode>
Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

NameSummary
valueOffun valueOf(value: String): SeekMode
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.)
valuesfun values(): Array<SeekMode>
Returns an array containing the constants of this enum type, in the order they're declared.