Documentation Index
Fetch the complete documentation index at: https://docs.prism.byescaleira.com/llms.txt
Use this file to discover all available pages before exploring further.
Camera & Media
PrismCameraClient wraps AVFoundation’s capture pipeline into a clean, Sendable API. Capture photos and video without managing AVCaptureSession, delegates, or output configurations directly.
Permissions
Camera Permission
Camera Positions
| Position | Description |
|---|---|
.front | Front-facing (selfie) camera |
.back | Rear-facing camera |
.external | External camera (iPad, Mac) |
Photo Capture
Capture a Photo
Photo Quality Levels
| Quality | Description |
|---|---|
.low | Smallest file size, reduced resolution |
.medium | Balanced quality and size |
.high | High-resolution output |
.maximum | Full sensor resolution |
Flash Modes
| Mode | Behavior |
|---|---|
.off | Flash disabled |
.on | Flash always fires |
.auto | Flash fires when needed |
Video Capture
Switch to video mode for recording:Record Video
Switching Cameras
Switch Camera
Photo Picker
For selecting existing media from the photo library, usePrismPhotoPicker from PrismUI:
Photo Picker (PrismUI)