com.google.firebase.messaging
Contains public API classes for Firebase Cloud Messaging.
Classes
FirebaseMessaging |
Top level Firebase Cloud Messaging singleton that provides methods for subscribing to topics and sending upstream messages. |
FirebaseMessagingService |
Base class for receiving messages from Firebase Cloud Messaging. |
RemoteMessage |
A remote Firebase Message. |
RemoteMessage.Builder |
Builder object for constructing |
RemoteMessage.Notification |
Remote Firebase notification details. |
Exceptions
SendException |
Firebase message send exception. |
Annotations
RemoteMessage.MessagePriority |
Priority of the message |
Top-level functions summary
inline RemoteMessage |
remoteMessage(to: String, crossinline init: RemoteMessage.Builder.() -> Unit) Returns a |
Extension properties summary
FirebaseMessaging |
Returns the |
Top-level functions
remoteMessage
inline fun remoteMessage(to: String, crossinline init: RemoteMessage.Builder.() -> Unit): RemoteMessage
Returns a RemoteMessage
instance initialized using the init
function.
Extension properties
messaging
val Firebase.messaging: FirebaseMessaging
Returns the FirebaseMessaging
instance of the default FirebaseApp
.