sample-app-guide

Official

Build a DAT camera streaming app in iOS

Authorfacebook
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sample-app-guide
Download link: https://github.com/facebook/meta-wearables-dat-ios/archive/main.zip#sample-app-guide

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.