PlayerState class

Do not initialize this class directly.
Use controller.state

Implemented types

Constructors

PlayerState(PlayerController _controller)

Properties

buffer → ValueNotifier<Duration>
final
duration → ValueNotifier<Duration>
final
error → ValueNotifier<String?>
final
hashCode → int
The hash code for this object.
no setterinherited
ima → ValueNotifier<bool>
final
pipMode → ValueNotifier<PiPMode>
final
progress → ValueNotifier<Duration>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
speed → ValueNotifier<double>
final
status → ValueNotifier<PlaybackStatus>
final
tracks → ValueNotifier<List<TrackData>>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBufferUpdate(int second) → void
override
onDurationUpdate(int second) → void
override
onIMAStatusChange(bool showingAd) → void
override
onPiPModeChange(PiPMode mode) → void
override
onPlaybackError(String error) → void
override
onPlaybackSpeedUpdate(double speed) → void
override
onPlaybackUpdate(PlaybackStatus status) → void
override
onProgressUpdate(int second) → void
override
onTracksLoaded(List<TrackData> tracks) → void
override
onVideoSizeUpdate(VideoTextureData data) → void
Only used for AndroidViewMode.texture
override
toString() → String
A string representation of this object.
inherited

Operators

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