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.
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.