MediaPlayerEvent enum
Player events.
Values
- playerEventSeekBegin → const MediaPlayerEvent
-
0: Start seeking.
- playerEventSeekComplete → const MediaPlayerEvent
-
1: Seek completed.
- playerEventSeekError → const MediaPlayerEvent
-
2: Seek error.
- playerEventAudioTrackChanged → const MediaPlayerEvent
-
5: Current audio track changed.
- playerEventBufferLow → const MediaPlayerEvent
-
6: The current buffer is insufficient for playback.
- playerEventBufferRecover → const MediaPlayerEvent
-
7: The current buffer is just enough for playback.
- playerEventFreezeStart → const MediaPlayerEvent
-
8: Audio or video stuttering occurred.
- playerEventFreezeStop → const MediaPlayerEvent
-
9: Audio and video stuttering stopped.
- playerEventSwitchBegin → const MediaPlayerEvent
-
10: Start switching media source.
- playerEventSwitchComplete → const MediaPlayerEvent
-
11: Media source switch completed.
- playerEventSwitchError → const MediaPlayerEvent
-
12: Media source switch error.
- playerEventFirstDisplayed → const MediaPlayerEvent
-
13: First video frame displayed.
- playerEventReachCacheFileMaxCount → const MediaPlayerEvent
-
14: Reached the maximum number of cacheable files.
- playerEventReachCacheFileMaxSize → const MediaPlayerEvent
-
15: Reached the maximum size of cacheable files.
- playerEventTryOpenStart → const MediaPlayerEvent
-
@nodoc
- playerEventTryOpenSucceed → const MediaPlayerEvent
-
@nodoc
- playerEventTryOpenFailed → const MediaPlayerEvent
-
@nodoc
- playerEventHttpRedirect → const MediaPlayerEvent
-
@nodoc
Properties
- 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<
MediaPlayerEvent> - A constant List of the values in this enum, in order of their declaration.