Android Utililty Methods Notification Remove

List of utility methods to do Notification Remove

Description

The list of methods to do Notification Remove are organized into topic(s).

Method

voidremoveNotification(Context context)
remove Notification
NotificationManager notificationManager = (NotificationManager) context
        .getSystemService(Context.NOTIFICATION_SERVICE);
notificationManager.cancelAll();
alarmIsRunning = false;
alarmWentOff = false;
currentDistance = -1;
voidcancel(Context context, String tag, int id)
cancel
NotificationManager nm = (NotificationManager) context
        .getSystemService(Context.NOTIFICATION_SERVICE);
nm.cancel(tag, id);
voidcancel(Context context, int id)
cancel
cancel(context, VSHOW_TAG, id);