RemoteMessage

actual class RemoteMessage(source)

A message received from, or (with Builder) sent to, Firebase Cloud Messaging, as the Android SDK's RemoteMessage. On Android the SDK delivers received messages to a FirebaseMessagingService; the other platforms receive messages through their own notification APIs, so there a RemoteMessage only comes from Builder.

expect class RemoteMessage(source)

A message received from, or (with Builder) sent to, Firebase Cloud Messaging, as the Android SDK's RemoteMessage. On Android the SDK delivers received messages to a FirebaseMessagingService; the other platforms receive messages through their own notification APIs, so there a RemoteMessage only comes from Builder.

actual class RemoteMessage(source)

A message received from, or (with Builder) sent to, Firebase Cloud Messaging, as the Android SDK's RemoteMessage. On Android the SDK delivers received messages to a FirebaseMessagingService; the other platforms receive messages through their own notification APIs, so there a RemoteMessage only comes from Builder.

Types

Link copied to clipboard
actual class Builder(to: String)

Builds a RemoteMessage addressed to to.

expect class Builder(to: String)

Builds a RemoteMessage addressed to to.

actual class Builder(to: String)

Builds a RemoteMessage addressed to to.

Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion
Link copied to clipboard
actual annotation class MessagePriority

The priorities of a message; the Android SDK's @IntDef.

expect annotation class MessagePriority

The priorities of a message; the Android SDK's @IntDef.

actual annotation class MessagePriority

The priorities of a message; the Android SDK's @IntDef.

Link copied to clipboard
actual class Notification

The notification payload of a message, as the Android SDK's RemoteMessage.Notification; the image and link URLs are imageUrl and link extensions.

expect class Notification

The notification payload of a message, as the Android SDK's RemoteMessage.Notification; the image and link URLs are imageUrl and link extensions.

actual class Notification

The notification payload of a message, as the Android SDK's RemoteMessage.Notification; the image and link URLs are imageUrl and link extensions.

Properties

Link copied to clipboard
actual val collapseKey: String?

The collapse key, if any.

expect val collapseKey: String?

The collapse key, if any.

actual val collapseKey: String?

The collapse key, if any.

Link copied to clipboard
actual val data: Map<String, String>

The data payload.

expect val data: Map<String, String>

The data payload.

actual val data: Map<String, String>

The data payload.

Link copied to clipboard
actual val from: String?

The sender, if any.

expect val from: String?

The sender, if any.

actual val from: String?

The sender, if any.

Link copied to clipboard
actual val messageId: String?

The message id, if any.

expect val messageId: String?

The message id, if any.

actual val messageId: String?

The message id, if any.

Link copied to clipboard
actual val messageType: String?

The message type, if any.

expect val messageType: String?

The message type, if any.

actual val messageType: String?

The message type, if any.

Link copied to clipboard

The notification payload, if the message carries one.

The notification payload, if the message carries one.

The notification payload, if the message carries one.

Link copied to clipboard
actual val originalPriority: Int

The priority the message was sent with; one of the PRIORITY_* constants.

expect val originalPriority: Int

The priority the message was sent with; one of the PRIORITY_* constants.

actual val originalPriority: Int

The priority the message was sent with; one of the PRIORITY_* constants.

Link copied to clipboard
actual val priority: Int

The priority the message was delivered with; one of the PRIORITY_* constants.

expect val priority: Int

The priority the message was delivered with; one of the PRIORITY_* constants.

actual val priority: Int

The priority the message was delivered with; one of the PRIORITY_* constants.

Link copied to clipboard
actual val senderId: String?

The sender id.

expect val senderId: String?

The sender id.

actual val senderId: String?

The sender id.

Link copied to clipboard
actual val sentTime: Long

When the message was sent, in milliseconds since the epoch.

expect val sentTime: Long

When the message was sent, in milliseconds since the epoch.

actual val sentTime: Long

When the message was sent, in milliseconds since the epoch.

Link copied to clipboard
actual val to: String?

The recipient.

expect val to: String?

The recipient.

actual val to: String?

The recipient.

Link copied to clipboard
actual val ttl: Int

The time to live in seconds.

expect val ttl: Int

The time to live in seconds.

actual val ttl: Int

The time to live in seconds.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String