What problem does it solve?
Developers need a clear, end-to-end path to integrate Meta Wearables Device Access Toolkit (DAT) on iOS for streaming and photo capture without guessing which modules to wire together or how the app flow should look.
Core Features & Use Cases
- Project setup guidance: Establish a new SwiftUI project, add DAT SDK modules, and configure the required iOS app settings.
- App architecture patterns: Separate concerns with ViewModels for registration/device management and streaming/capture.
- Streaming + photo capture workflow: Create a device session, start a stream with defined configuration, listen for frame and photo updates, and trigger photo capture.
- Mock device testing: Enable MockDeviceKit to develop and test video feed and capture behavior without requiring physical glasses.
Example use case: Build a hands-free “live preview with snapshot” experience where users can start streaming and tap a button to capture a JPEG photo while the app shows the latest preview frame.
Quick Start
Use the guide to set up a new SwiftUI DAT app, initialize the SDK in your app entry point, then wire streaming and photo capture using the provided ViewModel structure.