PlayerController class
Constructors
- PlayerController({AndroidViewMode androidViewMode = AndroidViewMode.texture})
Properties
- androidViewMode → AndroidViewMode
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → PlayerState
-
latefinal
-
textureParams
→ ValueNotifier<
VideoTextureParams> -
Used if androidViewMode AndroidViewMode.texture
final
Methods
-
dispose(
) → Future< void> -
enterPiPMode(
) → Future< void> -
getFit(
) → Future< BoxFitMode> -
getPlaybackSpeed(
) → Future< double> -
getPlaybackStatus(
) → Future< PlaybackStatus> -
getProgress(
) → Future< Duration> -
getTracks(
) → Future< List< TrackData> > -
initialize(
{PlayerConfiguration? configuration}) → Future< void> -
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(
Duration position) → Future< void> -
setFit(
BoxFitMode fit) → Future< void> -
setPlaybackSpeed(
double speed) → Future< void> -
setTrackPreference(
TrackData? track) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited