API reference

StreamState Enum

Represents the current state of a media streaming session with a Meta Wearables device.

Signature

enum StreamState : Enum<StreamState> 

Enumeration Constants

MemberDescription
STARTING
The session is in the process of starting up.
STARTED
The session has started but is not yet actively streaming.
STREAMING
The session is actively streaming media data.
STOPPING
The session is in the process of stopping.
STOPPED
The session is stopped, either because it hasn't been started or there are no active devices connected.
PAUSED
The session is paused by the device (e.g. via single tap gesture on glasses). The stream can resume automatically when the device signals to continue.
CLOSED
The session is closed. This is the final state and the session cannot be restarted.