Show / Hide Table of Contents

Class AN_FirebaseNotification

Inheritance
System.Object
AN_FirebaseNotification
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_FirebaseNotification

Properties

Badge

Indicates the badge on the client app home icon. iOS only.

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

Body

Indicates notification body text.

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

BodyLocalizationArgs

Indicates the string value to replace format specifiers in body string for localization. On iOS, this corresponds to "loc-args" in APNS payload. On Android, these are the format arguments for the string resource.

Declaration
public IEnumerable<string> BodyLocalizationArgs { get; }
Property Value
Type Description
IEnumerable<System.String>

BodyLocalizationKey

Indicates the key to the body string for localization. On iOS, this corresponds to "loc-key" in APNS payload. On Android, use the key in the app string resources when populating this value.

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

ClickAction

The action associated with a user click on the notification. On Android, if this is set, an activity with a matching intent filter is launched when user clicks the notification. If set on iOS, corresponds to category in APNS payload.

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

Color

Indicates color of the icon, expressed in #rrggbb format. Android only.

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

Icon

Indicates notification icon. Sets value to my icon for drawable resource my icon.

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

Sound

Indicates a sound to play when the device receives the notification. Supports default, or the filename of a sound resource bundled in the app. Android sound files must reside in /res/raw/, while iOS sound files can be in the main bundle of the client app or in the Library/Sounds folder of the app’s data container.

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

Tag

Indicates whether each notification results in a new entry in the notification drawer on Android. If not set, each request creates a new notification. If set, and a notification with the same tag is already being shown, the new notification replaces the existing one in the notification drawer.

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

Title

Indicates notification title. This field is not visible on iOS phones and tablets.

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

TitleLocalizationArgs

Indicates the string value to replace format specifiers in title string for localization. On iOS, this corresponds to "title-loc-args" in APNS payload. On Android, these are the format arguments for the string resource.

Declaration
public IEnumerable<string> TitleLocalizationArgs { get; }
Property Value
Type Description
IEnumerable<System.String>

TitleLocalizationKey

Indicates the key to the title string for localization. On iOS, this corresponds to "title-loc-key" in APNS payload. On Android, use the key in the app's string resources when populating this value.

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