Audio on button press?

Hello, I saw the video of the notifications but not sure how to use that to play a local audio file ?

I have only recently started using fuse so I would love a little guidance.

<Panel> <Button> </Button> </Panel>

Thank you !


As of 0.9.11, Fuse doesn’t have an UX API for playing sound, sorry.

It is definitely on the way though, and you can play sound using Uno/foreign code.

I’ve used the Experimental.Audio to add audio to my apps/games. Made this little example:

Note that this doesn’t work in Preview, because currently you cannot call Uno methods in Preview, but works with DotNetExe build and when compiled to device.