Konsola git

RemoteMessage.Notification

public static class RemoteMessage.Notification extends Object

Remote Firebase notification details.

This class maps to the fields of a notification message.

Public Method Summary

String
String[]
String
String
getChannelId()
Gets the channel id from the notification.
String
String
String
Uri
getImageUrl()
Gets the image URL from the notification.
Uri
getLink()
Gets the deep link from the notification.
String
String
String
String[]
String

Inherited Method Summary

Public Methods

public String getBody ()

public String[] getBodyLocalizationArgs ()

public String getBodyLocalizationKey ()

public String getChannelId ()

Gets the channel id from the notification. Note that this method does not perform verification on the existence of a channel, nor does it fallback to the manifest defined default or the default FCM channel.

Returns
  • channel id that was provided when the message was sent, null otherwise.

public String getClickAction ()

public String getColor ()

public String getIcon ()

public Uri getImageUrl ()

Gets the image URL from the notification.

Returns
  • The image URL if it was set, null otherwise.

public Uri getLink ()

Gets the deep link from the notification.

Returns
  • The deep link if it was set, null otherwise.

public String getSound ()

public String getTag ()

public String getTitle ()

public String[] getTitleLocalizationArgs ()

public String getTitleLocalizationKey ()