<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureReactionEffectState",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureReactionEffectState"
  },
  "title" : "AVCaptureReactionEffectState"
}
-->

# AVCaptureReactionEffectState

An object that reports the state of a reaction effect performed on a capture device.

```
class AVCaptureReactionEffectState
```

## Overview

Obtain an instance of this class by querying a capture device’s [`reactionEffectsInProgress`](/documentation/AVFoundation/AVCaptureDevice/reactionEffectsInProgress) property. The system adds new entries to this array when you call [`performEffect(for:)`](/documentation/AVFoundation/AVCaptureDevice/performEffect(for:)) or by gesture detection in the capture stream when the value of [`reactionEffectGesturesEnabled`](/documentation/AVFoundation/AVCaptureDevice/reactionEffectGesturesEnabled) is <doc://com.apple.documentation/documentation/Swift/true>.

The system renders the effect before providing frames to your app, and these status objects let you know when it performs the effect.

## Topics

### Configuring the effect state

[`reactionType`](/documentation/AVFoundation/AVCaptureReactionEffectState/reactionType)

The type of reaction.

[`AVCaptureReactionType`](/documentation/AVFoundation/AVCaptureReactionType)

Constants that indicate the type of reaction that an effect can perform.

[`startTime`](/documentation/AVFoundation/AVCaptureReactionEffectState/startTime)

The presentation time of the first frame where the system renders the effect.

[`endTime`](/documentation/AVFoundation/AVCaptureReactionEffectState/endTime)

The presentation time of the first frame following the end of a reaction effect.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)