onUpdateMediaSessionCompat
open suspend fun onUpdateMediaSessionCompat(application: Application, channelId: String): MediaSessionCompat?
Intercept the media session creation and modify it before it is posted.
Parameters
application
The application context.
channelId
The channel id.