You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good afternoon!
How can I make my androidx.media3.session.MediaSession instance undetectable for certain cases and stop receiving media button events or transport commands?
For example, if the user moved from the player to the movie card, then I want to stop receiving media events, but if the user returned back to the player, then activate the session to receive media events again.
In the old implementation I used this function android.media.session.MediaSession.setActive
Thanks!
The text was updated successfully, but these errors were encountered:
Good afternoon!
How can I make my
androidx.media3.session.MediaSession
instance undetectable for certain cases and stop receiving media button events or transport commands?For example, if the user moved from the player to the movie card, then I want to stop receiving media events, but if the user returned back to the player, then activate the session to receive media events again.
In the old implementation I used this function android.media.session.MediaSession.setActive
Thanks!
The text was updated successfully, but these errors were encountered: