PlayerStream class

PlayerStream

Event Streams for subscribing to Player events.

Constructors

PlayerStream(Stream<bool> playing, Stream<Duration> position, Stream<int?> width, Stream<int?> height, Stream<List<String>> subtitle, Stream<bool> buffering, Stream<Duration> buffer, Stream<Duration> duration, Stream<double> volume, Stream<double> rate, Stream<bool> completed)
PlayerStream
const

Properties

buffer Stream<Duration>
Current buffer duration.
final
buffering Stream<bool>
Whether buffering or not.
final
completed Stream<bool>
Whether playback is completed or not.
final
duration Stream<Duration>
Duration of the media.
final
hashCode int
The hash code for this object.
no setterinherited
height Stream<int?>
Currently playing video's height.
final
playing Stream<bool>
Whether playing or not.
final
position Stream<Duration>
Current playback position.
final
rate Stream<double>
Current playback rate.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle Stream<List<String>>
Currently displayed subtitle.
final
volume Stream<double>
Current volume.
final
width Stream<int?>
Currently playing video's width.
final

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