Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

Blog Entries

This function is free to use.

Created 21st October 2023, last changed 21st October 2023


AVRecorder.ReactionEffectGesturesEnabled - AVRecorder.Release

💬 Ask a question or report a problem