Interface IPlaySoundAction
Represents an action that plays a sound notification. This action can either play the sound in the background or wait for the sound to complete before proceeding.
Namespace: EyeAuras.DefaultAuras.Actions.PlaySound
Assembly: EyeAuras.DefaultAuras.dll
Syntax
public interface IPlaySoundAction
Properties
Name | Description |
---|---|
NotificationRef | Gets or sets the identifier or path for the sound notification to be played. |
PlayInBackground | Gets or sets a value indicating whether the sound should be played in the background. If set to true, the action returns immediately after starting the sound. If false, the action waits until the sound has finished playing. |
Volume | Gets or sets the volume at which the sound notification should be played. This is a floating-point value, typically ranging from 0.0 (silent) to 1.0 (maximum volume). |