Skip to content

Add helper method to convert platform MediaSession.Token to media3 session Token #171

Open
@entibaldi

Description

@entibaldi

In Media3 there is no class/mechanism equivalent of a MediaSessionManager?
If I want my app to control the media session that another app is running, the only way is to convert android.media.session.MediaSession.Token (obtained by the system MediaSessionManager) to MediaSessionCompat.Token then to convert it again to androidx.media3.session.Token? Or did I miss something?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions