GreenVideoPlatform class abstract

This abstract class defines the PlatformInterface for a GreenVideo Widget.

GreenVideoChannels is the default implementation, but using the instance setter, the implementation can also be switched to something else.

Inheritance
  • Object
  • PlatformInterface
  • GreenVideoPlatform
Implementers

Constructors

GreenVideoPlatform()

Properties

getPlayerEvents Stream<Map<Object?, Object?>>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose(int viewId) → void
enterFullscreen(int viewId) → void
exitFullscreen(int viewId) → void
hideUi(int viewId) → void
mute(int viewId) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause(int viewId) → void
play(int viewId) → void
seek(int viewId, double position) → void
seekBackward(int viewId, double time) → void
seekForward(int viewId, double time) → void
showUi(int viewId) → void
startContent(int viewId) → void
startNextContent(int viewId) → void
startPreviousContent(int viewId) → void
toString() String
A string representation of this object.
inherited
unmute(int viewId) → void

Operators

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

Static Properties

instance GreenVideoPlatform
The default instance of GreenVideoPlatform to use. Defaults to GreenVideoChannels.
getter/setter pair