AVCaptureReactionEffectStateMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVCaptureReactionEffectStateMBS class.

AVCaptureReactionEffectStateMBS.available as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether this class is available.
Example
If AVCaptureReactionEffectStateMBS.available Then
MessageBox "available"
Else
MessageBox "not available."
End If

Returns true on macOS 14.0 or iOS 17.0.

AVCaptureReactionEffectStateMBS.AVCaptureReactionTypeBalloons as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the rection types that can be performed in an effect.

Indicates a reaction which features balloons rising through the scene.

AVCaptureReactionEffectStateMBS.AVCaptureReactionTypeConfetti as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the rection types that can be performed in an effect.

Indicates a reaction which features festive spots of color falling through the scene.

AVCaptureReactionEffectStateMBS.AVCaptureReactionTypeFireworks as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the rection types that can be performed in an effect.

Indicates a reaction which features fireworks bursting in the background.

AVCaptureReactionEffectStateMBS.AVCaptureReactionTypeHeart as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the rection types that can be performed in an effect.

Indicates a reaction which features one or more heart symbols.

AVCaptureReactionEffectStateMBS.AVCaptureReactionTypeLasers as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the rection types that can be performed in an effect.

Indicates a reaction which features a bright laser display projecting into the scene.

AVCaptureReactionEffectStateMBS.AVCaptureReactionTypeRain as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the rection types that can be performed in an effect.

Indicates a reaction which features a dark and stormy night.

AVCaptureReactionEffectStateMBS.AVCaptureReactionTypeThumbsDown as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the rection types that can be performed in an effect.

Indicates a reaction which features a thumbs-down symbol.

AVCaptureReactionEffectStateMBS.AVCaptureReactionTypeThumbsUp as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the rection types that can be performed in an effect.

Indicates a reaction which features a thumbs-up symbol.

AVCaptureReactionEffectStateMBS.ReactionSystemImageNameForType(reactionType as String) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 23.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the name for NSImage systemImageNamed method to obtain the recommended iconography for a specified reaction type.
Example
// loads image into canvas
dim effect as string = AVCaptureReactionEffectStateMBS.AVCaptureReactionTypeBalloons
dim name as string = AVCaptureReactionEffectStateMBS.ReactionSystemImageNameForType(effect)
dim image as NSImageMBS = NSImageMBS.imageWithSystemSymbolName(name)

// change size to match
image.setSize canvas1.Width, canvas1.Height

// and render picture
canvas1.Backdrop = image.CopyPictureWithAlpha

The items on this page are in the following plugins: MBS AVFoundation Plugin.


💬 Ask a question or report a problem