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
A function calling onSessionEvent is needed(maybe broadcastCustomCommand?)
PS:
MediaControllerImplLegacy#onSessionEvent will call onCustomCommand(means MediaBrowserService can call Media3's onCustomCommand)
, so is there any way to let MediaLibraryService call MediaControllerCompat.Callback#onSessionEvent?
(Media3's MediaLibraryService call legacy MediaController's onSessionEvent)
The text was updated successfully, but these errors were encountered:
Thanks for the request! This looks like an oversight that should be added to the library as you described. I'll mark it as a bug and we can fix it in the next release.
And also mention a few restrictions regarding legacy components
in Javadoc.
Issue: #293
PiperOrigin-RevId: 522005562
(cherry picked from commit 502969a)
A function calling onSessionEvent is needed(maybe broadcastCustomCommand?)
PS:
MediaControllerImplLegacy#onSessionEvent will call onCustomCommand(means MediaBrowserService can call Media3's onCustomCommand)
, so is there any way to let MediaLibraryService call MediaControllerCompat.Callback#onSessionEvent?
(Media3's MediaLibraryService call legacy MediaController's onSessionEvent)
The text was updated successfully, but these errors were encountered: