PlayerControllerApi class
Constructors
- PlayerControllerApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
-
Constructor for PlayerControllerApi. The
binaryMessengernamed 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
- pigeonVar_binaryMessenger → BinaryMessenger?
-
final
- pigeonVar_messageChannelSuffix → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
enterPiPMode(
) → Future< void> -
getFit(
) → Future< BoxFitMode> -
getPlaybackSpeed(
) → Future< double> -
getPlaybackStatus(
) → Future< PlaybackStatus> -
getProgressSecond(
) → Future< int> -
getTracks(
) → Future< List< TrackData> > -
initAndroidTextureView(
) → Future< VideoTextureData> - Must be called if ViewMode is texture in android. Returns textureId,width,height
-
initialize(
PlayerConfiguration? configuration) → Future< void> -
isPlayingIMA(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> -
play(
Media media) → Future< void> -
resume(
) → Future< void> -
seekBack(
) → Future< void> -
seekForward(
) → Future< void> -
seekTo(
int positionMs) → Future< void> -
setFit(
BoxFitMode fit) → Future< void> -
setPlaybackSpeed(
double speed) → Future< void> -
setTrackPreference(
TrackData? track) → Future< void> -
stop(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
pigeonChannelCodec
→ const MessageCodec<
Object?>