MethodChannelVideoPlayer class

An implementation of VideoPlayerPlatform that uses method channels.

This is the default implementation, for compatibility with existing third-party implementations. It is not used by other implementations in this repository.

Inheritance

Constructors

MethodChannelVideoPlayer()

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

buildView(int textureId) Widget
Returns a widget displaying the video with a given textureID.
override
initPlayer(String url) Future<int?>
Starts the video playback.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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