PlaySound Class
Play bundled .wav files
This is intended for playing the small one-shot sounds like button-clicks & notification chimes.
You'll find this trigger action in the Fuse.Audio package, which have to be referenced from your Uno project file. For example:
{
    "Packages": [
        "Fuse",
        "FuseJS",
        "Fuse.Audio"
    ]
}
Example
<StackPanel Margin="20">
    <Button Margin="10" Text="Test Sound">
        <Clicked>
            <PlaySound File="chime.wav" />
        </Clicked>
    </Button>
</StackPanel>
Location
- Namespace
 - Fuse
 - Package
 - Fuse.Audio 2.9.1
 
Interface of PlaySound
PlaySound Constructor uno
Creates a new PlaySound
Inherited from TriggerAction
AtProgress : float ux
Delay : float ux
The number of seconds after the start of the trigger that the action should be performed.
Direction : TriggerWhen ux
IsActive : bool ux
IsProgressTriggered : bool uno
OnUnrooted uno
Perform(Node) uno
PerformFromNode(Node) uno
ProgressWhen(float) : float uno
SourceFileName : string ux
hide
SourceLineNumber : int ux
hide
TargetNode : Node ux
Unroot uno
When : TriggerWhen ux
Inherited from PropertyObject
AddPropertyListener(IPropertyListener) uno
OnPropertyChanged(Selector, IPropertyListener) uno
OnPropertyChanged(Selector) uno
RemovePropertyListener(IPropertyListener) uno
Inherited from object
Equals(object) : bool uno
GetHashCode : int uno
GetType : Type uno
ToString : string uno
Attached UX Attributes
GlobalKey (attached by Resource) : string ux
Implemented Interfaces
ISourceLocation uno
hide