I have implemented a notification which plays a sound
Notification.Builder builder = new Notification.Builder (this) .SetSmallIcon (Resource.Drawable.ic_stat_notify_example) .SetAutoCancel (false) .SetSound (uri)
But I want to play the sound just once and not to loop it.
In the documentation of android there was a flag FLAG_ONLY_ALERT_ONCE, but I could not implement it in Xamarin.
Can somebody help me?