PlayerState
An atomic snapshot of the player, across five orthogonal axes.
Never torn: a reader cannot see playing and errored at the same time. The constructor is marked internal so a snapshot is only ever assembled where every axis is known.
Properties
Link copied to clipboard
True when a composition is loaded and presentable.
Link copied to clipboard
Intent. Flipped synchronously by VideoPlayer.play and VideoPlayer.pause, and never by buffering, so this is what a play or pause button reads.
Link copied to clipboard
Where the player is in its lifecycle.