public class NightVisionNotification
extends android.content.BroadcastReceiver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NOTIFICATION_CONTROL |
Constructor and Description |
---|
NightVisionNotification() |
Modifier and Type | Method and Description |
---|---|
void |
cancelNotification() |
void |
dispatchNotification()
Sends the notification created to the android notification system
to show and display the created notification, cancel the current notification so
the new notification created will not overlap with same IDs
|
void |
onPause() |
void |
onReceive(android.content.Context ignored,
android.content.Intent intent)
Receives the broadcast from the user clicking the notification from the
system tray.
|
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public static final java.lang.String NOTIFICATION_CONTROL
public void dispatchNotification()
public void cancelNotification()
public void onReceive(android.content.Context ignored, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void onPause()