这是indexloc提供的服务,不要输入任何密码
Skip to content

Android Auto callback for opening browsable media items #2550

@jqi26

Description

@jqi26

Hi there. I was wondering if there's a way to know when a browsable media item has been opened (tapped) but nothing has been played yet? For example, maybe an override in MediaLibrarySession.Callback?. Specifically we want to track analytics whenever these are opened. For example for the top menu items if we knew which were tapped the most often then we could re-order them for safety.

Methods like onGetChildren get called for each of the browsable media items in the top menu all at once, even before the tab has been opened yet, and doesn't get invoked again. Is there another method (or an entirely different mechanism) to be notified each time a browsable item is opened? Thanks in advance!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions