Forum Discussion
scottgarner
1 year agoHonored Guest
BIND_NOTIFICATION_LISTENER_SERVICE for Media Control/Metadata
Hello,
I'm working on a music visualization app called Fizz in Unity. I am able to visualize system audio using the Android Visualizer Class and I'm able to control/pause playback by dispatching media key events to Android's AudioManager.
However, I'm struggling to get current track metadata. The appropriate way to do this seems to be to use MediaSessionManager with a custom NotificationListenerService. Unfortunately, notification listener permission requires the user to manually enable it in settings. Quest OS apparently does not properly surface this permission and android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS goes to the generic system settings.
I have confirmed that the full pipeline works by manually granting that permission with ADB, so the only thing blocking me is the missing option in settings. Unless there's another way to do this?
Thanks!
-S
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago
- 1 year ago