PlayerState class
Internal Flutter representation of the underlying native THEOplayer state.
Constructors
Properties
- allowBackgroundPlayback ↔ bool
-
getter/setter pair
-
buffered
↔ List<
TimeRange?> -
getter/setter pair
- currentProgramDateTime ↔ DateTime?
-
getter/setter pair
- currentTime ↔ double
-
getter/setter pair
- duration ↔ double
-
getter/setter pair
- error ↔ String?
-
getter/setter pair
- eventManager ↔ EventManager
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAutoplay ↔ bool
-
getter/setter pair
- isEnded ↔ bool
-
getter/setter pair
- isInitialized ↔ bool
-
getter/setter pair
- isPaused ↔ bool
-
getter/setter pair
- isSeeking ↔ bool
-
getter/setter pair
- muted ↔ bool
-
getter/setter pair
- playbackRate ↔ double
-
getter/setter pair
-
played
↔ List<
TimeRange?> -
getter/setter pair
- preload ↔ PreloadType
-
getter/setter pair
- presentationMode ↔ PresentationMode
-
getter/setter pair
- readyState ↔ ReadyState
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
seekable
↔ List<
TimeRange?> -
getter/setter pair
- source ↔ SourceDescription?
-
getter/setter pair
- videoHeight ↔ int
-
getter/setter pair
- videoWidth ↔ int
-
getter/setter pair
- volume ↔ double
-
getter/setter pair
Methods
-
dispose(
) → void - Method to clean the internal state on player dispose.
-
initialized(
) → void - Use it signal that the native player creation is done.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetState(
) → void - Method to reset the player state.
-
setStateListener(
StateChangeListener listener) → void - Sets a StateChangeListener that gets triggered on every state change.
-
setViewController(
THEOplayerViewController theoPlayerViewController) → void - Method to setup the connection with the platform-specific THEOplayerViewController classes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited