Contents

AVCaptureReactionEffectState

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

Declaration

class AVCaptureReactionEffectState

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

See Also

Performing reaction effects