GlobalPlayerState class

Constructors

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})

Properties

activeScene Scene?
final
autoplayNext bool
final
enableBackgroundPlayback bool
final
enableNativePip bool
final
hashCode int
The hash code for this object.
no setterinherited
isFullScreen bool
final
isInPipMode bool
final
isPlaying bool
final
prewarmAttempted bool?
final
prewarmLatencyMs int?
final
prewarmSucceeded bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showVideoDebugInfo bool
final
startupLatencyMs int?
final
streamLabel String?
final
streamMimeType String?
final
streamSource String?
final
useDoubleTapSeek bool
final
videoPlayerController VideoPlayerController?
final

Methods

copyWith({Scene? activeScene, VideoPlayerController? videoPlayerController, bool? isPlaying, bool? isFullScreen, bool? isInPipMode, String? streamMimeType, String? streamLabel, String? streamSource, int? startupLatencyMs, bool? prewarmAttempted, bool? prewarmSucceeded, int? prewarmLatencyMs, bool? autoplayNext, bool? showVideoDebugInfo, bool? useDoubleTapSeek, bool? enableBackgroundPlayback, bool? enableNativePip, bool clearActive = false}) GlobalPlayerState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited