MethodChannelFlutterNativeVideoPlayer class
An implementation of FlutterNativeVideoPlayerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterNativeVideoPlayerPlatform
- MethodChannelFlutterNativeVideoPlayer
Constructors
Properties
-
duration
→ Future<
int> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isInitialised
→ Future<
bool> -
no setteroverride
-
isPlaying
→ Future<
bool> -
no setteroverride
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
-
onPlayerStateUpdate
→ Stream<
bool> -
no setteroverride
-
onProgressUpdate
→ Stream<
Map< String, dynamic> > -
no setteroverride
-
position
→ Future<
int> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
initialise(
String url) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> -
override
-
play(
) → Future< void> -
override
-
replay(
) → Future< void> -
override
-
seekTo(
double position) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited