• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## 3.14\. Media UI
2
3
4If device implementations include non-voice-activated applications (the Apps) that interact with
5third-party applications through [`MediaBrowser`](http://developer.android.com/reference/android/media/browse/MediaBrowser.html)
6or [`MediaSession`](http://developer.android.com/reference/android/media/session/MediaSession.html),
7the Apps:
8
9*    [C-1-2] MUST clearly display icons obtained via getIconBitmap() or getIconUri() and titles
10     obtained via getTitle() as described in [`MediaDescription`](http://developer.android.com/reference/android/media/MediaDescription.html).
11     May shorten titles to comply with safety regulations (e.g. driver distraction).
12
13*    [C-1-3] MUST show the third-party application icon whenever displaying content provided by
14     this third-party application.
15
16*    [C-1-4] MUST allow the user to interact with the entire [`MediaBrowser`](http://developer.android.com/reference/android/media/browse/MediaBrowser.html)
17     hierarchy. MAY restrict the access to part of the hierarchy to comply with safety regulations
18     (e.g. driver distraction), but MUST NOT give preferential treatment based on content or
19     content provider.
20
21*    [C-1-5] MUST consider double tap of [`KEYCODE_HEADSETHOOK`](
22     https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_HEADSETHOOK)
23     or [`KEYCODE_MEDIA_PLAY_PAUSE`](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_PLAY_PAUSE)
24     as [`KEYCODE_MEDIA_NEXT`](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_NEXT)
25     for [`MediaSession.Callback#onMediaButtonEvent`](https://developer.android.com/reference/android/media/session/MediaSession.Callback.html#onMediaButtonEvent%28android.content.Intent%29).
26