media/demos/session_service
tonihei a62af0387b Add playback resumption support to session demo app
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
2025-04-29 10:13:19 -07:00
..

Demo MediaLibraryService implementation

A library module with a demo implementation of MediaLibraryService and MediaLibrarySession.Callback.

See the PlaybackService of the session demo how to use it. Override assets/cataglog.json by creating such a file in the same format in your application module that the service will use.