List of utility methods to do Notification Remove
void | removeNotification(Context context) remove Notification NotificationManager notificationManager = (NotificationManager) context .getSystemService(Context.NOTIFICATION_SERVICE); notificationManager.cancelAll(); alarmIsRunning = false; alarmWentOff = false; currentDistance = -1; |
void | cancel(Context context, String tag, int id) cancel NotificationManager nm = (NotificationManager) context .getSystemService(Context.NOTIFICATION_SERVICE); nm.cancel(tag, id); |
void | cancel(Context context, int id) cancel cancel(context, VSHOW_TAG, id); |