iOS Question How handle AVPlayer events?

webhost.company

Active Member
Licensed User
Longtime User
I used AVPlayer to play mp3 files in my app.
I need to StreamComplete,StreamReady, and streamerror events.
How can I handle it?
Maybe I can handle StreamComplete event with have duration and position AVplayer
How can I get the duration and position?
Thanks
 

webhost.company

Active Member
Licensed User
Longtime User
Finally, I could make a library for the play stream files.
I used AVplayer.
You can get duration, position, status, volume or can seek position and other events that look like b4a library
 

Attachments

  • MediaPlayerStream.bas
    3.1 KB · Views: 246
Upvote 0
Top