THEOplayerNativeAPI class
Constructors
- THEOplayerNativeAPI({BinaryMessenger? binaryMessenger})
-
Constructor for THEOplayerNativeAPI. 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
-
allowAutomaticPictureInPicture(
) → Future< bool> -
allowBackgroundPlayback(
) → Future< bool> -
configureSurface(
int arg_surfaceId, int arg_width, int arg_height) → Future< void> -
dispose(
) → Future< void> -
getBuffered(
) → Future< List< TimeRange?> > -
getCurrentProgramDateTime(
) → Future< int?> -
getCurrentTime(
) → Future< double> -
getDuration(
) → Future< double> -
getError(
) → Future< String?> -
getPlaybackRate(
) → Future< double> -
getPlayed(
) → Future< List< TimeRange?> > -
getPreload(
) → Future< PreloadType> -
getReadyState(
) → Future< ReadyState> -
getSeekable(
) → Future< List< TimeRange?> > -
getSource(
) → Future< SourceDescription?> -
getVideoHeight(
) → Future< int> -
getVideoWidth(
) → Future< int> -
getVolume(
) → Future< double> -
isAutoplay(
) → Future< bool> -
isEnded(
) → Future< bool> -
isMuted(
) → Future< bool> -
isPaused(
) → Future< bool> -
isSeeking(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onLifecyclePause(
) → Future< void> -
onLifecycleResume(
) → Future< void> -
pause(
) → Future< void> -
play(
) → Future< void> -
setAllowAutomaticPictureInPicture(
bool arg_allowAutomaticPictureInPicture) → Future< void> -
setAllowBackgroundPlayback(
bool arg_allowBackgroundPlayback) → Future< void> -
setAutoplay(
bool arg_autoplay) → Future< void> -
setCurrentProgramDateTime(
int arg_currentProgramDateTime) → Future< void> -
setCurrentTime(
double arg_currentTime) → Future< void> -
setMuted(
bool arg_muted) → Future< void> -
setPlaybackRate(
double arg_playbackRate) → Future< void> -
setPreload(
PreloadType arg_preload) → Future< void> -
setSource(
SourceDescription? arg_source) → Future< void> -
setVolume(
double arg_volume) → Future< void> -
stop(
) → 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?>