FirebaseAdmin. Messaging
Summary
Enumerations | |
|---|---|
Direction{ | enum Different directions a notification can be displayed in. |
MessagingErrorCode{ | enum Error codes that can be raised by the CloudMessaging APIs. |
NotificationPriority{ | enum Priority levels that can be set on anAndroidNotification. |
NotificationProxy{ | enum Proxy behavior that can be set on anAndroidNotification. |
NotificationVisibility{ | enum Visibility levels that can be set on anAndroidNotification. |
Priority{ | enum Priority levels that can be set on anAndroidConfig. |
Classes | |
|---|---|
| FirebaseAdmin. | Represents an action available to users when the notification is presented. |
| FirebaseAdmin. | Represents the Android-specific options that can be included in aMessage. |
| FirebaseAdmin. | Represents Android FCM options. |
| FirebaseAdmin. | Represents the Android-specific notification options that can be included in aMessage. |
| FirebaseAdmin. | Represents the APNS-specific options that can be included in aMessage. |
| FirebaseAdmin. | Represents Apple PushNotification Service FCM options. |
| FirebaseAdmin. | Represents theaps dictionary that is part of every APNs message. |
| FirebaseAdmin. | Represents thealert property that can be included in the |
| FirebaseAdmin. | Response from an operation that sends FCM messages to multiple recipients. |
| FirebaseAdmin. | The sound configuration for APNs critical alerts. |
| FirebaseAdmin. | A topic management error. |
| FirebaseAdmin. | Represents FCM options. |
| FirebaseAdmin. | This is the entry point to all server-side Firebase CloudMessaging (FCM) operations. |
| FirebaseAdmin. | Exception type raised by Firebase CloudMessaging APIs. |
| FirebaseAdmin. | Represents light settings in an AndroidNotification. |
| FirebaseAdmin. | Represents a message that can be sent via Firebase CloudMessaging (FCM). |
| FirebaseAdmin. | Represents a message that can be sent to multiple devices via Firebase CloudMessaging (FCM). |
| FirebaseAdmin. | Represents the notification parameters that can be included in aMessage. |
| FirebaseAdmin. | The result of an individual send operation that was executed as part of a batch. |
| FirebaseAdmin. | The response produced by FCM topic management operations. |
| FirebaseAdmin. | Represents the Webpush protocol options that can be included in aMessage. |
| FirebaseAdmin. | Represents the Webpush-specific notification options that can be included in aMessage. |
| FirebaseAdmin. | Represents the Webpush-specific notification options that can be included in aMessage. |
Namespaces | |
|---|---|
| FirebaseAdmin. | |
Enumerations
Direction
Direction
MessagingErrorCode
MessagingErrorCode
Error codes that can be raised by the CloudMessaging APIs.
| Properties | |
|---|---|
Internal | Internal server error. |
InvalidArgument | One or more argument specified in the request was invalid. |
QuotaExceeded | Sending limit exceeded for the message target. |
SenderIdMismatch | The authenticated sender ID is different from the sender ID for the registration token. |
ThirdPartyAuthError | APNs certificate or web push auth key was invalid or missing. |
Unavailable | CloudMessaging service is temporarily unavailable. |
Unregistered | App instance was unregistered from FCM. This usually means that the token used is no longer valid and a new one must be used. |
NotificationPriority
NotificationPriority
Priority levels that can be set on anAndroidNotification.
| Properties | |
|---|---|
DEFAULT | Default priority notification. |
HIGH | High priority notification. |
LOW | Low priority notification. |
MAX | Maximum priority notification. |
MIN | Minimum priority notification. |
NotificationProxy
NotificationProxy
Proxy behavior that can be set on anAndroidNotification.
NotificationVisibility
NotificationVisibility
Visibility levels that can be set on anAndroidNotification.
| Properties | |
|---|---|
PRIVATE | Private visibility. |
PUBLIC | Public visibility. |
SECRET | Secret visibility. |
Priority
Priority
Priority levels that can be set on anAndroidConfig.
| Properties | |
|---|---|
High | High priority message. |
Normal | Normal priority message. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-24 UTC.