floatinghotpot / cordova-plugin-nativeaudio

The low latency audio plugin is designed to enable low latency and polyphonic audio from Cordova/PhoneGap applications, using a very simple and basic API.
MIT License
233 stars 290 forks source link

How to catch onended event? #124

Open zahiruldu opened 7 years ago

zahiruldu commented 7 years ago

Hi, I have tried to catch the onended event by addEventListener and onended way, but nothing is working. I have searched the whole docs, Not getting any hint to catch onended events in native audio plugin. Would anybody suggest me how to do this. I want to do some action after ending the playing of my audio file.

Thanks in advance.

Regards, Zahirul

almoore commented 6 years ago

I agree, docs on this would be great.