CloudMessagingReceiver.IntentActionKeys
Stay organized with collections
Save and categorize content based on your preferences.
Actions for the wrapped Intent of notification action broadcasts to indicate the
notification action type.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Constants
public static final String
NOTIFICATION_DISMISS
Action of the wrapped Intent sent when a notification is dismissed.
Constant Value:
"com.google.firebase.messaging.NOTIFICATION_DISMISS"
public static final String
NOTIFICATION_OPEN
Action of the wrapped Intent sent when a notification is opened.
Constant Value:
"com.google.firebase.messaging.NOTIFICATION_OPEN"
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eCloudMessagingReceiver.IntentActionKeys\u003c/code\u003e provides actions for notification action broadcasts, indicating the type of notification action (dismissal or opening).\u003c/p\u003e\n"],["\u003cp\u003eIt includes two main actions: \u003ccode\u003eNOTIFICATION_DISMISS\u003c/code\u003e and \u003ccode\u003eNOTIFICATION_OPEN\u003c/code\u003e, triggered when a notification is dismissed or opened, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThese actions are used within the wrapped Intent, accessible via \u003ccode\u003eCloudMessagingReceiver.IntentKeys.WRAPPED_INTENT\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these actions to handle notification interactions within their applications.\u003c/p\u003e\n"]]],[],null,["# CloudMessagingReceiver.IntentActionKeys\n\npublic static final class **CloudMessagingReceiver.IntentActionKeys** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nActions for the wrapped Intent of notification action broadcasts to indicate the\nnotification action type. \n\n##### See Also\n\n- [CloudMessagingReceiver.IntentKeys.WRAPPED_INTENT](/android/reference/com/google/android/gms/cloudmessaging/CloudMessagingReceiver.IntentKeys#WRAPPED_INTENT) \n\n### Constant Summary\n\n|-------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------|\n| [String](//developer.android.com/reference/java/lang/String.html) | [NOTIFICATION_DISMISS](/android/reference/com/google/android/gms/cloudmessaging/CloudMessagingReceiver.IntentActionKeys#NOTIFICATION_DISMISS) | Action of the wrapped Intent sent when a notification is dismissed. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [NOTIFICATION_OPEN](/android/reference/com/google/android/gms/cloudmessaging/CloudMessagingReceiver.IntentActionKeys#NOTIFICATION_OPEN) | Action of the wrapped Intent sent when a notification is opened. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nConstants\n---------\n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**NOTIFICATION_DISMISS**\n\nAction of the wrapped Intent sent when a notification is dismissed. \nConstant Value: \"com.google.firebase.messaging.NOTIFICATION_DISMISS\" \n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**NOTIFICATION_OPEN**\n\nAction of the wrapped Intent sent when a notification is opened. \nConstant Value: \"com.google.firebase.messaging.NOTIFICATION_OPEN\""]]