Package 

Class DefaultMediaDescriptionAdapter

  • All Implemented Interfaces:
    com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter

    
    public class DefaultMediaDescriptionAdapter
     implements PlayerNotificationManager.MediaDescriptionAdapter
                        

    The @{link MediaDescriptionAdapter} for the player notification displayed in the notification.

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultMediaDescriptionAdapter(MediaPlayback<ExoPlayer> playback) Construct a new adapter from the current media playback.
    • Method Summary

      Modifier and Type Method Description
      CharSequence getCurrentContentTitle(Player player)
      CharSequence getCurrentContentText(Player player)
      PendingIntent createCurrentContentIntent(Player player)
      Bitmap getCurrentLargeIcon(Player player, PlayerNotificationManager.BitmapCallback callback)
      • Methods inherited from class com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter

        createCurrentContentIntent, getCurrentContentText, getCurrentContentTitle, getCurrentLargeIcon, getCurrentSubText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait