If storing in the platform-specific projects, the files are expected to be in the standard locations. You can add audio files to the platform-specific projects or to a shared library. NET Standard lib or PCL, add the package to the library. If you’re using the plugin from a shared library such as a.
To get started, add the NuGet package to each platform-specific project you wish to support. The open-source SimpleAudioPlayer plugin provides a cross-platform C# API that can be used to load and play back audio in Windows UWP, Xamarin.Android, Xamarin.iOS, OS, and Xamarin.mac projects.
As cross-platform C# developers, we’d prefer a common API that can load audio data from a shared location. UWP, Android, and iOS all have powerful, but different APIs, to manage and play sounds. Including audio in cross-platform apps means invoking platform-specific code. In fact, many companies include jingles or sounds as part of their brand. We can also use sound to help convey moods, intentions, or feelings within our apps. Sounds can be essential to your app they may notify users of important events or make your app accessible to visually-impaired users. Audio has many uses in mobile applications.