GlobalPlayerState constructor

GlobalPlayerState({
  1. Scene? activeScene,
  2. VideoPlayerController? videoPlayerController,
  3. bool isPlaying = false,
  4. bool isFullScreen = false,
  5. bool isInPipMode = false,
  6. String? streamMimeType,
  7. String? streamLabel,
  8. String? streamSource,
  9. int? startupLatencyMs,
  10. bool? prewarmAttempted,
  11. bool? prewarmSucceeded,
  12. int? prewarmLatencyMs,
  13. bool autoplayNext = false,
  14. bool showVideoDebugInfo = false,
  15. bool useDoubleTapSeek = true,
  16. bool enableBackgroundPlayback = false,
  17. 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,
});