Home | History | Annotate | Download | only in 3_software
      1 ## 3.14\. Media UI
      2 
      3 
      4 If device implementations include the UI framework that supports third-party
      5 apps that depend on [`MediaBrowser`](
      6 http://developer.android.com/reference/android/media/browse/MediaBrowser.html)
      7 and [`MediaSession`](
      8 http://developer.android.com/reference/android/media/session/MediaSession.html)
      9 , they:
     10 
     11 *    [C-1-1] MUST display [MediaItem](
     12      http://developer.android.com/reference/android/media/browse/MediaBrowser.MediaItem.html)
     13      icons and notification icons unaltered.
     14 *    [C-1-2] MUST display those items as described by MediaSession, e.g.,
     15      metadata, icons, imagery.
     16 *    [C-1-3] MUST show app title.
     17 *    [C-1-4] MUST have drawer to present [MediaBrowser](
     18      http://developer.android.com/reference/android/media/browse/MediaBrowser.html)
     19      hierarchy.
     20 *    [C-1-5] MUST consider double tap of [`KEYCODE_HEADSETHOOK`](
     21      https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_HEADSETHOOK)
     22      or [`KEYCODE_MEDIA_PLAY_PAUSE`](
     23      https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_PLAY_PAUSE)
     24      as [`KEYCODE_MEDIA_NEXT`](
     25      https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_NEXT)
     26      for [`MediaSession.Callback#onMediaButtonEvent`](
     27      https://developer.android.com/reference/android/media/session/MediaSession.Callback.html#onMediaButtonEvent%28android.content.Intent%29).