Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
AVRecorder.ReactionEffectsEnabled
Whether reaction effects are enabled.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVRecorder | 13.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "AVRecorder.ReactionEffectsEnabled" )
Parameters
none
Result
Returns 1, 0 or error.
Description
Whether reaction effects are enabled.A class property indicating whether the application is suitable for reaction effects, either by automatic gesture detection, or by calls to performEffectForReaction().
Reactions are only rendered when the device's activeFormat.reactionEffectsSupported is also true, which will be reflected by canPerformReactionEffects when the feature is both enabled and supported.
On macOS, Reaction Effects are enabled by default for all applications. On iOS, Reaction Effects are enabled by default for video conferencing applications (apps that use "voip" as one of their UIBackgroundModes). Non video conferencing applications may opt in for Reaction Effects by adding the following key to their Info.plist:
<key>NSCameraReactionEffectsEnabled</key>
<true/>
Requires macOS 14.0 or iOS 17.0. Returns 0 on older system versions.
Examples
Check whether reactions are enabled:
Set Variable [ $enabled; Value: MBS( "AVRecorder.ReactionEffectsEnabled" ) ]
See also
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.ReactionEffectGesturesEnabled - AVRecorder.Release