Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
AVRecorder.ReactionEffectGesturesEnabled
A function indicating whether gesture detection will trigger reaction effects on the video stream.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVRecorder | 13.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "AVRecorder.ReactionEffectGesturesEnabled" )
Parameters
none
Result
Returns 1, 0 or error.
Description
A function indicating whether gesture detection will trigger reaction effects on the video stream.Gesture detection will only run when the device's activeFormat.reactionEffectsSupported is also true, which will be reflected by AVRecorder.CanPerformReactionEffects.
This property changes to reflect the Gestures state in Control Center.
Clients can call AVRecorder.PerformEffectForReaction independently of whether gesture detection is enabled, reaction effects from either source will be intermixed.
Requires macOS 14.0 or iOS 17.0. Returns 0 on older system versions.
Examples
Check whether reaction gestures are enabled:
Set Variable [ $enabled; Value: MBS( "AVRecorder.ReactionEffectGesturesEnabled" ) ]
See also
- AVRecorder.CanPerformReactionEffects
- AVRecorder.PerformEffectForReaction
- AVRecorder.ReactionEffectsEnabled
Release notes
- Version 13.5
- Added functions to work with reaction effects on macOS 14 and iOS 17 with AVRecorder: AVRecorder.AvailableReactionTypes, AVRecorder.CanPerformReactionEffects, AVRecorder.PerformEffectForReaction, AVRecorder.ReactionEffectGesturesEnabled and AVRecorder.ReactionEffectsEnabled functions.
Blog Entries
This function is free to use.
Created 21st October 2023, last changed 21st October 2023
AVRecorder.PerformEffectForReaction - AVRecorder.ReactionEffectsEnabled