---
title: captureMode
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/assistantschemas/cameraenum/capturemode
---

# captureMode

The capture mode for taking a photo or video.

## Declaration

```swift
var captureMode: some AssistantSchemas.Enum { get }
```

## Overview

Overview Use Swift macros that generate additional properties and add protocol conformance for your app enum implementation. The following example shows an app enum that conforms to the .camera.captureMode schema: @AppEnum(schema: .camera.captureMode) enum CaptureMode: AppEnum {     case selfie     case video

static var caseDisplayRepresentations: [CaptureMode: AppIntents.DisplayRepresentation] = [         .selfie: "Selfie",         .video: "Video",     ] } For more information about the .camera app intent domain, see doc:Making-camera-actions-available-to-siri-and-apple-intelligence. For general information about app intent domains, see doc:Integrating-actions-with-siri-and-apple-intelligence.
