onTaskRemoved

abstract fun onTaskRemoved(rootIntent: Intent)

This is called when the MediaPlaybackService is currently running and the user has removed a task that comes from the service's application.

Parameters

rootIntent

The original Intent that was used to launch the task that is being removed.