Guest User

Untitled

a guest
Nov 9th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. playerNotificationManager.setNotificationListener(object : PlayerNotificationManager.NotificationListener {
  2. override fun onNotificationStarted(notificationId: Int, notification: Notification?) {
  3. startForeground(NOW_PLAYING_NOTIFICATION, notification)
  4. }
  5.  
  6. override fun onNotificationCancelled(notificationId: Int) {
  7. }
  8.  
  9. })
Add Comment
Please, Sign In to add comment