PlaybackTools
Provider for the playback tools: GetNowPlayingTool and MediaControlTool.
Both tools read/control media sessions through the system, which requires Notification Listener access. The host app must register its listener ComponentName via NotificationListenerHolder and have the listener enabled in Settings; use permissionStatus to check and prompt for that access.
Functions
Always true; there are no runtime permissions to check (see permissionStatus).
Returns whether the host's registered notification listener (from NotificationListenerHolder) is actually enabled in system Settings.
Reports notification-listener access as a PermissionStatus; when not granted, carries an intent to the notification-access Settings screen.
No runtime permissions: Notification Listener access is a special access granted via Settings, not a runtime permission.
The names of all playback tools provided by this module.