Skip to main content

Camera Overview

Use DeviceCameraAPI to read camera information and request photo or video capture on a connected device.

Camera APIs

  • Read cameraFirmwareVersion and maxVideoRecordDuration directly from the device.
  • Set the maximum video recording duration in minutes.
  • Start photo taking with CaptureMode .camera or .ai, then stop the photo-taking session.
  • Start or stop video recording.

Photo and video requests return device status codes. They do not return an app-local media path. Transfer captured media separately with the Media File Import APIs.

Implement with AI Assistance

Build with AI

Implement this workflow with AI

Use the official Control the AIBuds Camera skill to adapt this workflow to your app.

Read and follow https://docs-aibuds.github.io/skills/control-aibuds-camera. Use it to implement Control the AIBuds Camera in this iOS project and verify the result.
View official skill

Available Guides