Are MediaSession and MediaSessionManager backward compatible?

I read a good post here on how to use notification buttons to interact with the media player service to play, pause, skip, etc.

android doc says this was introduced in API level 21, does anyone know of alternatives for this for the lower API level? How does this work on lower API level devices?

+3


source to share


2 answers


This is the best answer I've found so far: fooobar.com/questions/704372 / ...



It seems that these two methods are not compatible at all at all.

+3


source


An updated version of MediaSessionCompat has recently been released that uses RemoteControlClient for API levels 14-20. Unfortunately, there is currently no compatibility version of MediaSessionManager.



+4


source







All Articles