Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
AVRecorder.AvailableReactionTypes
Returns a list of reaction types which can be passed to performEffectForReaction.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVRecorder | 13.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "AVRecorder.AvailableReactionTypes"; AVSession ) More
Parameters
Parameter | Description | Example |
---|---|---|
AVSession | The ID for the AVRecorder session as returned by AVRecorder.Init. | $AVSession |
Result
Returns list or error.
Description
Returns a list of reaction types which can be passed to performEffectForReaction.The list may differ between devices, or be affected by changes to active format.
Requires macOS 14.0 or iOS 17.0. Returns empty list on older system versions.
Examples
Try it on macOS 14.0:
MBS( "AVRecorder.AvailableReactionTypes"; $$AVSession )
Example result:
ReactionBalloons
ReactionFireworks
ReactionThumbsUp
ReactionRain
ReactionThumbsDown
ReactionLasers
ReactionConfetti
ReactionHeart
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.AuthorizationStatusForMediaType - AVRecorder.CanPerformReactionEffects