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
override fun onPlayFromMediaId(mediaId: String?, extras: Bundle?) {
}
Android Auto Media App shows Content under the For you
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.
The text was updated successfully, but these errors were encountered:
atiqmumtaz507
changed the title
Bundle is always empty. I need the Media Item Object.
Bundle in onPlayFromMediaId method is always empty. I need the Media Item Object.
Oct 9, 2024
override fun onPlayFromMediaId(mediaId: String?, extras: Bundle?) {
}
Android Auto Media App shows Content under the For you
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.
The text was updated successfully, but these errors were encountered: