Triggering a local Notifications

I want to triggered a notification like an alarm app.
In my notification I am playing sound so I want to repeat that sound until the user stop.

Thank you for your help.

you might want to set the sound on repeat, and will only .stop() on button press

Yes that I want todo

have you tinkered on the properties of the player? there should be a way to repeat the sound and a way to stop it (.stop)

did you check this video out on how to add sound?

Yes I have tried and my problem is solved!
Thank you

1 Like