VideoPlayerApi class

Constructors

VideoPlayerApi({BinaryMessenger? binaryMessenger})
Constructor for VideoPlayerApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

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

Methods

create(CreateMessage arg_msg) Future<TextureMessage>
dispose(TextureMessage arg_msg) Future<void>
initialize() Future<void>
isPreload(CacheMessage arg_msg) Future<PreloadMessage>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause(TextureMessage arg_msg) Future<void>
play(TextureMessage arg_msg) Future<void>
position(TextureMessage arg_msg) Future<PositionMessage>
preCache(CacheMessage arg_msg) Future<void>
seekTo(PositionMessage arg_msg) Future<void>
setLooping(LoopingMessage arg_msg) Future<void>
setMixWithOthers(MixWithOthersMessage arg_msg) Future<void>
setPlaybackSpeed(PlaybackSpeedMessage arg_msg) Future<void>
setVolume(VolumeMessage arg_msg) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

codec → const MessageCodec<Object?>