Class NotificationService


  • public class NotificationService
    extends java.lang.Object
    • Method Detail

      • shared

        @NonNull
        public static NotificationService shared​(@NonNull
                                                 android.app.Application application)
      • startForegroundService

        public void startForegroundService​(@NonNull
                                           android.app.Notification notification,
                                           int notificationId)
      • stopForegroundService

        public void stopForegroundService()
      • getForegroundServiceNotification

        public android.app.Notification getForegroundServiceNotification()
      • getForegroundServiceNotificationId

        public int getForegroundServiceNotificationId()