XVideoPlayerStateChanged class

Periodic + edge-triggered state update. Any field may be null, meaning "no change since the last snapshot." Position is included on every emit; the rest are emitted on transition.

Inheritance

Constructors

XVideoPlayerStateChanged(int handle, {bool? isPlaying, bool? isBuffering, Duration? position, List<XDurationRange>? buffered})
Carries whichever fields changed; the rest stay null.
const

Properties

buffered → List<XDurationRange>?
Contiguous buffered spans.
final
handle → int
The session that emitted this event.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isBuffering → bool?
Whether playback is stalled waiting on data.
final
isPlaying → bool?
Whether the playhead is advancing.
final
position → Duration?
Where the playhead now sits.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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