Show / Hide Table of Contents

Class AN_FirebaseMessage

Inheritance
System.Object
AN_FirebaseMessage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.Android.Firebase.Messaging
Assembly: cs.temp.dll.dll
Syntax
public class AN_FirebaseMessage

Properties

CollapseKey

Gets the collapse key used for collapsible messages. This field is only used for downstream messages received through the FirebaseMessaging.MessageReceived event.

Declaration
public string CollapseKey { get; }
Property Value
Type Description
System.String

Data

Gets or sets the metadata, including all original key/value pairs. Includes some of the HTTP headers used when sending the message. gcm, google and goog prefixes are reserved for internal use. This field is used for both upstream messages sent with firebase::messaging::Send() and downstream messages received through the FirebaseMessaging.MessageReceived event.

Declaration
public IDictionary<string, string> Data { get; }
Property Value
Type Description
IDictionary<System.String, System.String>

Error

Gets the error code. Used in "nack" messages for CCS, and in responses from the server. See the CCS specification for the externally-supported list. This field is only used for downstream messages received through the FirebaseMessaging.MessageReceived event.

Declaration
public string Error { get; }
Property Value
Type Description
System.String

ErrorDescription

Gets the human readable details about the error. This field is only used for downstream messages received through the FirebaseMessaging.MessageReceived event.

Declaration
public string ErrorDescription { get; }
Property Value
Type Description
System.String

From

Gets the authenticated ID of the sender. This is a project number in most cases. This field is only used for downstream messages received through the FirebaseMessaging.MessageReceived event.

Declaration
public string From { get; }
Property Value
Type Description
System.String

Link

The link into the app from the message. This field is only used for downstream messages.

Declaration
public Uri Link { get; }
Property Value
Type Description
Uri

MessageId

Gets or sets the message ID. This can be specified by sender. Internally a hash of the message ID and other elements will be used for storage. The ID must be unique for each topic subscription - using the same ID may result in overriding the original message or duplicate delivery. This field is used for both upstream messages sent with firebase::messaging::Send() and downstream messages received through the FirebaseMessaging.MessageReceived event.

Declaration
public string MessageId { get; }
Property Value
Type Description
System.String

MessageType

Gets the message type, equivalent with a content-type. CCS uses "ack", "nack" for flow control and error handling. "control" is used by CCS for connection control. This field is only used for downstream messages received through the FirebaseMessaging.MessageReceived event.

Declaration
public string MessageType { get; }
Property Value
Type Description
System.String

Notification

Optional notification to show. This only set if a notification was received with this message, otherwise it is null. This field is only used for downstream messages received through FirebaseMessaging.MessageReceived.

Declaration
public AN_FirebaseNotification Notification { get; }
Property Value
Type Description
AN_FirebaseNotification

NotificationOpened

Gets a flag indicating whether this message was opened by tapping a notification in the OS system tray. If the message was received this way this flag is set to true.

Declaration
public bool NotificationOpened { get; }
Property Value
Type Description
System.Boolean

Priority

Gets the priority level. Defined values are "normal" and "high". By default messages are sent with normal priority. This field is only used for downstream messages received through the FirebaseMessaging.MessageReceived event.

Declaration
public string Priority { get; }
Property Value
Type Description
System.String

RawData

Gets the binary payload. For webpush and non-json messages, this is the body of the request entity. This field is only used for downstream messages received through the FirebaseMessaging.MessageReceived event.

Declaration
public byte[] RawData { get; }
Property Value
Type Description
System.Byte[]

TimeToLive

The Time To Live (TTL) for the message. This field is only used for downstream messages received through FirebaseMessaging.MessageReceived().

Declaration
public TimeSpan TimeToLive { get; }
Property Value
Type Description
TimeSpan

To

Gets or sets recipient of a message. For example it can be a registration token, a topic name, a IID or project ID. This field is used for both upstream messages sent with firebase::messaging:Send() and downstream messages received through the FirebaseMessaging.MessageReceived event. For upstream messages, PROJECT_ID@gcm.googleapis.com or the more general IID format are accepted.

Declaration
public string To { get; }
Property Value
Type Description
System.String
In This Article
Back to top Generated by DocFX