MediaPlayerEvent enum
Media player events.
Constructors
- MediaPlayerEvent()
-
const
Values
- playerEventSeekBegin → const MediaPlayerEvent
-
0: The player begins to seek to a new playback position.
- playerEventSeekComplete → const MediaPlayerEvent
-
1: The player finishes seeking to a new playback position.
- playerEventSeekError → const MediaPlayerEvent
-
2: An error occurs when seeking to a new playback position.
- playerEventAudioTrackChanged → const MediaPlayerEvent
-
5: The audio track used by the player has been changed.
- playerEventBufferLow → const MediaPlayerEvent
-
6: The currently buffered data is not enough to support playback.
- playerEventBufferRecover → const MediaPlayerEvent
-
7: The currently buffered data is just enough to support playback.
- playerEventFreezeStart → const MediaPlayerEvent
-
8: The audio or video playback freezes.
- playerEventFreezeStop → const MediaPlayerEvent
-
9: The audio or video playback resumes without freezing.
- playerEventSwitchBegin → const MediaPlayerEvent
-
10: The player starts switching the media resource.
- playerEventSwitchComplete → const MediaPlayerEvent
-
11: Media resource switching is complete.
- playerEventSwitchError → const MediaPlayerEvent
-
12: Media resource switching error.
- playerEventFirstDisplayed → const MediaPlayerEvent
-
13: The first video frame is rendered.
- playerEventReachCacheFileMaxCount → const MediaPlayerEvent
-
14: The cached media files reach the limit in number.
- playerEventReachCacheFileMaxSize → const MediaPlayerEvent
-
15: The cached media files reach the limit in aggregate storage space.
Properties
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.