Skip to content

Bundle in onPlayFromMediaId method is always empty. I need the Media Item Object. #547

Open
@atiqmumtaz507

Description

@atiqmumtaz507

override fun onPlayFromMediaId(mediaId: String?, extras: Bundle?) {
}

Android Auto Media App shows Content under the For you
Screenshot 2024-10-09 at 16 13 48

Once the item is clicked i need the extras in onPlayFromMediaId method call which are packed on the creation of the item. But sadly the items are not available.

One way is to use the mediaId and load the content through api call. But the best way would be to get the extras through the Bundle. It is also not possible to save the whole data inside the app as the content shown under For you is old and app/sercice class cannot hold the content for long time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions