MediaVideoPlayer class

Constructors

MediaVideoPlayer.new()

Properties

cacheDuration double
no setter
duration double
no setter
durationStream Stream<DurationStreamModel>?
no setter
events Map<String, List<Function>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double
no setter
isBuffering bool
no setter
isPlaybackActive bool
no setter
isPlayCompleted bool
no setter
isPlaying bool
no setter
playStateStream Stream<PlayStateStreamModel>?
no setter
position double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textureId int
no setter
width double
no setter

Methods

destroy() Future
disablePlayback() Future
enablePlayback() Future
init() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
off(String eventName, Function? fn) → void
on(String eventname, Function fn) → void
pause() Future
play() Future
prepare() Future
readAudioTrack() Future<VideoTrackInfo>
readVideoTrack() Future<VideoTrackInfo>
registerPlayBackEvent({required dynamic onPlayBackPrevious(), required dynamic onPlayBackNext()}) → dynamic
registerPresentationSize(dynamic fn(double width, double height)) Function
registerReadyToPlay(dynamic fn()) Function
removePlayBackEvent() → dynamic
removePresentationSize() → dynamic
removeReadyToPlay() → dynamic
seek(double time) Future
selectAudioTrack(String audio) Future
selectVideoTrack(String video) Future
setUrl({required String url, Map<String, String>? urlHeader, String? title, String? artist, String? cover, Map<String, String>? coverHeader}) Future
toString() String
A string representation of this object.
inherited

Operators

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