session-lifecycle

Installation
SKILL.md

Session Lifecycle (Android)

Manage session and stream state in DAT SDK integrations.

Create a Session with Wearables.createSession(...), start it, then attach capabilities such as camera streaming. Session lifecycle and stream lifecycle are related but distinct.

Session states

State Meaning App action
IDLE Session created, not started yet Call session.start()
STARTING Connecting to the device Show loading UI
STARTED Session active and ready for capabilities Add or use capabilities
PAUSED Session temporarily suspended Keep state, wait for resume or stop
STOPPING Session is shutting down Stop user work and wait
STOPPED Session ended Release resources and create a new session if needed

Observe session state

Installs
3
GitHub Stars
300
First Seen
10 days ago
session-lifecycle — facebook/meta-wearables-dat-android