目录

How does an application respond to loop mode switching commands from the media controller?

After creating an AVSession, the application must listen for loop mode changes to process control commands from the media controller. Currently, the system supports four fixed loop modes: shuffle, sequential playback, single loop, and playlist loop. The application obtains the loop mode in use from the callback. It can determine the next loop mode and set it to the AVSession.

Reference

Setting the Loop Mode