mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

The main part of adding resumption support is storing the last media id and position whenever the mediaItem or isPlaying state changes. PiperOrigin-RevId: 752783723
Media session demo
This app demonstrates use of media sessions. It's a reference app written in Kotlin, which demonstrates best practices for media apps that want to advertise media sessions.
See the demos README for instructions on how to build and run this demo.