com.google.android.gms.cloudmessaging
Stay organized with collections
Save and categorize content based on your preferences.
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\u003eCloudMessage\u003c/code\u003e objects represent Cloud Messaging messages and allow access to message data like priority and content.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudMessagingReceiver\u003c/code\u003e is a base class for receiving and handling Cloud Messaging messages but direct use of the play-services-cloud-messaging SDK is not supported.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should utilize \u003ccode\u003eCloudMessagingReceiver.IntentActionKeys\u003c/code\u003e and \u003ccode\u003eCloudMessagingReceiver.IntentKeys\u003c/code\u003e to manage notification action types and data within broadcast intents.\u003c/p\u003e\n"]]],[],null,["# com.google.android.gms.cloudmessaging\n\n### Annotations\n\n|-----------------------------------------------------------------------------------------------------------------------|-------------------------|\n| [CloudMessage.MessagePriority](/android/reference/com/google/android/gms/cloudmessaging/CloudMessage.MessagePriority) | Priority of the message |\n\n### Classes\n\n|---------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| [CloudMessage](/android/reference/com/google/android/gms/cloudmessaging/CloudMessage) | A Cloud Messaging message. |\n| [CloudMessagingReceiver](/android/reference/com/google/android/gms/cloudmessaging/CloudMessagingReceiver) | | Direct use of play-services-cloud-messaging SDK is not supported. |\n| [CloudMessagingReceiver.IntentActionKeys](/android/reference/com/google/android/gms/cloudmessaging/CloudMessagingReceiver.IntentActionKeys) | Actions for the wrapped Intent of notification action broadcasts to indicate the notification action type. |\n| [CloudMessagingReceiver.IntentKeys](/android/reference/com/google/android/gms/cloudmessaging/CloudMessagingReceiver.IntentKeys) | Keys used to pass data within the broadcast Intent's extras. |\n| [Rpc](/android/reference/com/google/android/gms/cloudmessaging/Rpc) | | Direct use of play-services-cloud-messaging SDK is not supported. |"]]