Skip to content

Call MediaControllerCompat.Callback#onSessionEvent from MediaLibraryService #293

Closed
@Yangwoqizuo

Description

@Yangwoqizuo

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions