---
title: AVCaptureReactionEffectState
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avcapturereactioneffectstate
---

# AVCaptureReactionEffectState

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

## Declaration

```swift
class AVCaptureReactionEffectState
```

## Overview

Overview Obtain an instance of this class by querying a capture device’s reactionEffectsInProgress property. The system adds new entries to this array when you call performEffect(for:) or by gesture detection in the capture stream when the value of reactionEffectGesturesEnabled is 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](avfoundation/avcapturereactioneffectstate/reactiontype.md)
- [AVCaptureReactionType](avfoundation/avcapturereactiontype.md)
- [startTime](avfoundation/avcapturereactioneffectstate/starttime.md)
- [endTime](avfoundation/avcapturereactioneffectstate/endtime.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Performing reaction effects

- [reactionEffectsEnabled](avfoundation/avcapturedevice/reactioneffectsenabled.md)
- [canPerformReactionEffects](avfoundation/avcapturedevice/canperformreactioneffects.md)
- [availableReactionTypes](avfoundation/avcapturedevice/availablereactiontypes.md)
- [reactionEffectGesturesEnabled](avfoundation/avcapturedevice/reactioneffectgesturesenabled.md)
- [performEffect(for:)](avfoundation/avcapturedevice/performeffect(for:).md)
- [reactionEffectsInProgress](avfoundation/avcapturedevice/reactioneffectsinprogress.md)
