AVRecorder.AvailableReactionTypes
---------------------------------

Returns a list of reaction types which can be passed to performEffectForReaction.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVRecorder](component_AVRecorder.md) | [13.5](newinversion135.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "AVRecorder.AvailableReactionTypes"; AVSession ) 

**MBS**( **"AVRecorder.AvailableReactionTypes";** /\* Returns a list of reaction types which can be passed to performEffectForReaction. \*/  
**$AVSession**) /\* The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVSession | The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). | $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 )  
<small>  
Example result:   
ReactionBalloons  
ReactionFireworks  
ReactionThumbsUp  
ReactionRain  
ReactionThumbsDown  
ReactionLasers  
ReactionConfetti  
ReactionHeart</small>### See also

- [AVRecorder.Init](AVRecorderInit.md)
- [AVRecorder.PerformEffectForReaction](AVRecorderPerformEffectForReaction.md)

### Release notes

- **Version 13.5**
    - Added functions to work with reaction effects on macOS 14 and iOS 17 with AVRecorder: [AVRecorder.AvailableReactionTypes](https://www.mbsplugins.eu/AVRecorderAvailableReactionTypes.shtml), [AVRecorder.CanPerformReactionEffects](https://www.mbsplugins.eu/AVRecorderCanPerformReactionEffects.shtml), [AVRecorder.PerformEffectForReaction](https://www.mbsplugins.eu/AVRecorderPerformEffectForReaction.shtml), [AVRecorder.ReactionEffectGesturesEnabled](https://www.mbsplugins.eu/AVRecorderReactionEffectGesturesEnabled.shtml) and [AVRecorder.ReactionEffectsEnabled](https://www.mbsplugins.eu/AVRecorderReactionEffectsEnabled.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 13.5pr6](https://www.mbsplugins.de/archive/2023-10-26/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[AVRecorder.AuthorizationStatusForMediaType](AVRecorderAuthorizationStatusForMediaType.md) - [AVRecorder.CanPerformReactionEffects](AVRecorderCanPerformReactionEffects.md)

[HTML Version](AVRecorderAvailableReactionTypes.shtml)