adrianstevens / Xamarin-Plugins

Cross-platform Plugins for Xamarin, Xamarin.Forms and Windows
https://www.nuget.org/packages/Xam.Plugin.SimpleAudioPlayer/
MIT License
133 stars 53 forks source link

How to Get a Duration For Audion #50

Closed Muthutc closed 5 years ago

Muthutc commented 5 years ago

Hi I dont know how to get a Duration for Audio.

adrianstevens commented 5 years ago

Hi - you can read the duration of the loaded audio sample by accessing the Duration property on the SimpleAudioPlayer instance.