API reference

VideoPlayerState Enum

Lifecycle state of a VideoPlayer.
State transitions:
  • IDLE -> STARTING -> PLAYING (when playback begins)
  • PLAYING -> PAUSE (when playback is paused)
  • PLAYING -> ENDED (when playback completes)
  • Any state -> IDLE (on close)

See Also

Signature

enum VideoPlayerState : Enum<VideoPlayerState> 

Enumeration Constants

MemberDescription
IDLE
Player created but not yet started. Call play() to begin playback.
STARTING
Preparing the video stream and waiting for device acknowledgment.
PLAYING
Video is actively playing on the wearable device.
PAUSE
Video playback is paused.
ENDED
Video playback has ended (reached the end of the source).