Platforms to show: All Mac Windows Linux Cross-Platform

AVCaptureReactionEffectStateMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Reports the state of a reaction performed on an AVCaptureDeviceMBS.
Example
dim device as AVCaptureDeviceMBS // your device

Var effects() as AVCaptureReactionEffectStateMBS = device.reactionEffectsInProgress

for each effect as AVCaptureReactionEffectStateMBS in effects
MessageBox effect.reactionType
next

AVCaptureReactionEffectStateMBS may be obtained by calling
reactionEffectsInProgress in AVCaptureDeviceMBS. When canPerformReactionEffects in AVCaptureDeviceMBS returns true, new entries are added either by calling performReactionEffect, or by gesture detection in the capture stream when AVCaptureDevice.reactionEffectGesturesEnabled. The effect rendering is done before frames are given to the capture client, and these status objects let you know when these effects are performed.

Requires macOS 14.0 or iOS 17.0.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no sub classes.

Some methods using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS AVFoundation Plugin.


AVCaptureOutputMBS   -   AVCaptureScreenInputMBS


The biggest plugin in space...