Closed gsmental closed 1 year ago
We, or anyone in the community, need to collect info on what each platform does and how they play a sound like this.
I think this is more of "Audio Player" API...
Like Adrian's https://github.com/adrianstevens/Xamarin-Plugins/tree/master/SimpleAudioPlayer
suppose, I got some data from server inserted into localdb. and i want to inform to user about these new items by play a tone like any new messages reaches on whatsapp or any chat app.
suppose I validate any string which is invalid as per requirement. i want to play a warning tone with Toast.
During Deleting any item, we can play tone.
Like in windows forms we show Error Message, error messages always shows with tone.
I used this plugin to play multiple tracks simultaneously. So we can not only play the sounds of the window with errors, but also make a sound subsystem for our solution. It can be used for games or music applications.
Any updates?
Would like to see support for audio files as well. Ideally, we'd call an API and supply the sound file as well as basic configuration like auto play and loop. This is not meant to be a full-blown audio player but a simple tool to play application sounds.
It should be able to play sound from URL as well as Resources 👍
Also it will be great if it will have OnPlaying event which returns the status and current position in addition OnStarted, OnPaused, OnStopped and OnFinished
@jrahma, yes it is a nice idea from URL. but there is no activity/no milestone for this feature.
I think at this point it's safe to say that this won't be making it's way into Xamarin.Essentials anymore. Keep your eye on .NET MAUI for all new development! Thanks for all input and efforts here.
Description
It is new requirements. many times we need to play a tone like when we create any notification and any other function. this tone may be used for delete/insert/error/warning/success/ or for any other reason.