MethodChannelJWPlayer class
An implementation of JWPlayerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- JWPlayerPlatform
- MethodChannelJWPlayer
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- platformChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viewChannel → MethodChannel
-
final
Methods
-
buildView(
int viewId, void onPlatformViewCreated(int)) → Widget -
override
-
create(
) → Future< int> -
override
-
dispose(
int viewId) → Future< void> -
inherited
-
getPlatformVersion(
) → Future< String?> -
override
-
init(
) → Future< void> -
Initializes the platform interface and disposes all existing players.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
int id) → Future< void> -
override
-
play(
int id) → Future< void> -
override
-
seek(
double to, int id) → Future< void> -
override
-
setConfig(
Map< String, dynamic> config, int id) → Future<void> -
override
-
setLicenseKey(
String licenseKey) → Future< void> -
override
-
stop(
int id) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
videoEventsFor(
int textureId) → Stream< VideoEvent> -
Returns a Stream of VideoEventTypes.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited