Airship Unity Plugin 10.0.0
  • AirshipSDK
  • PushMessage
Properties | List of all members
AirshipSDK.PushMessage Class Reference

A push message model object. More...

Properties

string Alert [get]
 Gets the alert text.
 
string Title [get]
 Gets the notification title.
 
string NotificationId [get]
 Gets the identifier of the notification this push posted.
 
Dictionary< string, string > Extras [get]
 Gets the key value extras sent with the push.
 

Detailed Description

A push message model object.

Property Documentation

◆ Alert

string AirshipSDK.PushMessage.Alert
get

Gets the alert text.

The alert text.

◆ Extras

Dictionary<string, string> AirshipSDK.PushMessage.Extras
get

Gets the key value extras sent with the push.

Non-string extra values are encoded as JSON strings.

The extras, or null if the push carried none.

◆ NotificationId

string AirshipSDK.PushMessage.NotificationId
get

Gets the identifier of the notification this push posted.

This is the platform's notification identifier, not the Airship send ID. It is null for a push that posted no notification, such as a silent push. On iOS it is also null throughout OnPushReceived even when a notification was posted, because the framework proxy builds that event's payload without one; it is populated for OnPushOpened and for the active notification list. On Android it is populated wherever a notification was posted.

The notification identifier.

◆ Title

string AirshipSDK.PushMessage.Title
get

Gets the notification title.

The title, or null if the push carried none.


Generated on Wed Sep 2 2026 21:27:03 for Airship Unity Plugin by   doxygen 1.9.8