PlayerMethodManager class
Constructors
- PlayerMethodManager({required FetchHlsMasterPlaylist fetchHlsMasterPlaylist, required bool playWhenReady})
Properties
- eventChannel → EventChannel
-
final
- fetchHlsMasterPlaylist ↔ FetchHlsMasterPlaylist
-
getter/setter pair
- getPlaybackState → dynamic
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDownloadStarted ↔ bool
-
getter/setter pair
- methodChannel → MethodChannel
-
final
- playWhenReady ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
streamDownloadState
→ Stream<
DownloadState> -
no setter
-
streamDurationState
→ Stream<
DurationState> -
no setter
-
streamPlaybackState
→ Stream<
PlaybackState> -
no setter
-
streamProgressDownloadState
→ Stream<
double> -
no setter
Methods
-
changeQuality(
QualityModel itemQualitySelected) → Future< void> -
changeSubtitle(
PlayerKidSubtitlesSource itemSubtitleSelected) → Future< void> -
currentPosition(
) → int -
currentSpeed(
) → double -
dispose(
) → void -
forward(
) → Future< void> -
getCurrentHeight(
) → int -
getCurrentUrlQuality(
) → String -
getCurrentWidth(
) → int -
getListQuality(
) → List< QualityModel> -
getStreamControllerDurationState(
) → StreamController< DurationState> -
initCurrentUrlQuality(
) → void -
initPlayer(
) → Future< void> -
initPlayerListener(
) → void -
isDownloadCompleted(
String url, void onData(bool isDownloadCompleted)) → Future< void> -
isPlaying(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> -
pauseListenerPosition(
) → void -
play(
) → Future< void> -
playByState(
) → void -
releasePlayer(
) → Future< void> -
replay(
) → Future< void> -
restart(
) → Future< void> -
seekTo(
int position) → Future< void> -
setCancelDownload(
) → Future< void> -
setPlaybackSpeed(
double speed) → Future< void> -
setRetryDownload(
) → Future< void> -
setSubtitleSelectedListener(
void onData(PlayerKidSubtitlesSource source)) → void -
showDevices(
) → Future< void> -
startDownload(
PlayerResource playerResource, int trackIndex) → Future< void> -
startListenerPosition(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
totalDuration(
) → int
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited