NativeVideoPlayerController class

Controlador para el reproductor de video nativo

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewId int
final

Methods

dispose() → void
Limpia los recursos
getCurrentPosition() Future<double>
Obtiene la posición actual del video en segundos
getDuration() Future<double>
Obtiene la duración total del video en segundos
isBuffering() Future<bool>
Verifica si el video está buffering/cargando
isPlaying() Future<bool>
Verifica si el video está reproduciéndose
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
Pausa el video
play() Future<void>
Reproduce el video
seek(double time) Future<void>
Busca a un tiempo específico en el video
setUrl(String url, {bool autoplay = true}) Future<void>
Cambia la URL del video
setVolume(double volume) Future<void>
Establece el volumen del video (0.0 - 1.0)
startPiP() Future<void>
Inicia el modo Picture-in-Picture
stopPiP() Future<void>
Detiene el modo Picture-in-Picture
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

clearSharedPlayersCache() Future<bool>
Limpia el cache de players compartidos (iOS solamente)