GlobalPlayerState constructor
GlobalPlayerState({ - Scene? activeScene,
- VideoPlayerController? videoPlayerController,
- bool isPlaying = false,
- bool isFullScreen = false,
- bool isInPipMode = false,
- String? streamMimeType,
- String? streamLabel,
- String? streamSource,
- int? startupLatencyMs,
- bool? prewarmAttempted,
- bool? prewarmSucceeded,
- int? prewarmLatencyMs,
- bool autoplayNext = false,
- bool showVideoDebugInfo = false,
- bool useDoubleTapSeek = true,
- bool enableBackgroundPlayback = false,
- bool enableNativePip = false,
})
Implementation
GlobalPlayerState({
this.activeScene,
this.videoPlayerController,
this.isPlaying = false,
this.isFullScreen = false,
this.isInPipMode = false,
this.streamMimeType,
this.streamLabel,
this.streamSource,
this.startupLatencyMs,
this.prewarmAttempted,
this.prewarmSucceeded,
this.prewarmLatencyMs,
this.autoplayNext = false,
this.showVideoDebugInfo = false,
this.useDoubleTapSeek = true,
this.enableBackgroundPlayback = false,
this.enableNativePip = false,
});