RemoteMessageExtension extension

Extension methods for convenient access to RemoteMessage data.

Provides simplified getters for commonly accessed notification fields.

on
  • RemoteMessage

Properties

body String

Available on RemoteMessage, provided by the RemoteMessageExtension extension

The notification body text, or empty string if not available
no setter
linkMobile String?

Available on RemoteMessage, provided by the RemoteMessageExtension extension

The mobile deep link URL from the notification data
no setter
payload PushNotificationPayload

Available on RemoteMessage, provided by the RemoteMessageExtension extension

The parsed notification payload containing custom data
no setter
title String

Available on RemoteMessage, provided by the RemoteMessageExtension extension

The notification title, or empty string if not available
no setter