ReactivePlayerController class
Reactive VideoPlayerController.
Constructors
- ReactivePlayerController.new(VideoPlayerController controller)
Properties
-
buffered
→ RxList<
DurationRange> -
Currently buffered ranges.
final
- controller → VideoPlayerController
-
VideoPlayerController itself.
final
-
duration
→ Rx<
Duration> -
Total duration of the video.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBuffering → RxBool
-
Indicator whether the video is buffering.
final
- isCompleted → RxBool
-
Indicator whether the video is completed.
final
- isLooping → RxBool
-
Indicator whether the video is looped.
final
- isPlaying → RxBool
-
Indicator whether the video is playing.
final
-
position
→ Rx<
Duration> -
Current playback position.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
size
→ Rx<
Size> -
Size of the currently loaded video.
final
- volume → RxDouble
-
Current volume of the playback.
final
Methods
-
dispose(
) → void - Disposes this ReactivePlayerController.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> - Pauses the video.
-
play(
) → Future< void> - Starts playing the video.
-
seekTo(
Duration moment) → Future< void> -
Sets the video's current timestamp to be at
moment
. -
setRate(
double speed) → Future< void> - Sets the playback speed of video.
-
setVolume(
double volume) → Future< void> - Sets the audio volume of video.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited