PlayerEvent enum

{zh} * @detail keytype @brief 播放事件。

Inheritance
Available extensions

Values

select_audio_track_begin → const PlayerEvent

@brief Beginning to switch audio tracks. When you call selectAudioTrack{@link #IMediaPlayer#selectAudioTrack} to switch to a specific audio track, the player returns this state.

select_audio_track_completed → const PlayerEvent

@brief Audio track switch completed. After you call selectAudioTrack{@link #IMediaPlayer#selectAudioTrack} to switch to a specific audio track, the player successfully switches to the track and returns this state.

select_audio_track_failed → const PlayerEvent

@brief Audio track switch failed. After you call selectAudioTrack{@link #IMediaPlayer#selectAudioTrack} to switch to a specific audio track, the player fails to switch to the track and returns this state.

seek_begin → const PlayerEvent

@brief Beginning to move the playback position. When you call setPosition{@link #IMediaPlayer#setPosition} to move the playback position, the player returns this state.

seek_completed → const PlayerEvent

@brief Playback position move completed. After you call setPosition{@link #IMediaPlayer#setPosition} to move the playback position, the player successfully moves to the new position and returns this state.

seek_failed → const PlayerEvent

@brief Playback position move failed. After you call setPosition{@link #IMediaPlayer#setPosition} to move the playback position, the player fails to move to the new position and returns this state.

Properties

$value → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PlayerEvent>
A constant List of the values in this enum, in order of their declaration.