MethodChannelVideoPlayerOneplusdream class
An implementation of VideoPlayerOneplusdreamPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- VideoPlayerOneplusdreamPlatform
- MethodChannelVideoPlayerOneplusdream
Constructors
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 creationId, PlatformViewCreatedCallback onPlatformViewCreated, {Map< String, dynamic> params = const <String, dynamic>{}}) → Widget -
override
-
channel(
int id) → MethodChannel - Accesses the MethodChannel associated to the passed id.
-
dispose(
{required int videoId}) → Future< void> -
override
-
ensureChannelInitialized(
int id) → MethodChannel -
init(
int videoId) → Future< void> -
This method is called when the plugin is first initialized.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBack(
{required int videoId}) → Stream< BackEvent> -
override
-
onPlaying(
{required int videoId}) → Stream< PlayingEvent> -
override
-
play(
int videoId, PlayingItem item) → Future< void> -
override
-
toggleFullScreen(
int videoId, ToggleFullScreenParam param) → Future< void> -
override
-
togglePause(
int videoId, bool isPause) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited