Class NotificationCategory
Inheritance
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class NotificationCategory
Fields
actionButtons
The custom action buttons for notifications posted to this category. iOS supports up to 4 buttons. Android supports up to 3 buttons. Excessive buttons will be ignored.
Declaration
public NotificationCategory.ActionButton[] actionButtons
Field Value
Type | Description |
---|---|
NotificationCategory.ActionButton[] |
description
The category description, this is optional and only visible on Android devices.
Declaration
public string description
Field Value
Type | Description |
---|---|
System.String |
enableBadge
[Android only] Determines whether notifications posted to this category can appear as badges in a Launcher application.
Declaration
public bool enableBadge
Field Value
Type | Description |
---|---|
System.Boolean |
groupId
The identifier of the category group this category belongs to.
Declaration
public string groupId
Field Value
Type | Description |
---|---|
System.String |
id
The category identifier.
Declaration
public string id
Field Value
Type | Description |
---|---|
System.String |
importance
[Android only] The importance level of this category, which is the level of interruption of the notifications posted to this category.
Declaration
public NotificationCategory.Importance importance
Field Value
Type | Description |
---|---|
NotificationCategory.Importance |
lightColor
[Android only] The light color for notifications posted to this category, if lights was set to Custom
Declaration
public Color lightColor
Field Value
Type | Description |
---|---|
Color |
lights
[Android only] Determines how notifications posted to this category should display notification lights, on devices that support that feature.
Declaration
public NotificationCategory.LightOptions lights
Field Value
Type | Description |
---|---|
NotificationCategory.LightOptions |
lockScreenVisibility
[Android only] Determines how notifications posted to this category should be displayed on lockscreen.
Declaration
public NotificationCategory.LockScreenVisibilityOptions lockScreenVisibility
Field Value
Type | Description |
---|---|
NotificationCategory.LockScreenVisibilityOptions |
name
The category name, only visible on Android devices.
Declaration
public string name
Field Value
Type | Description |
---|---|
System.String |
sound
Determines how sound should be played when notifications posted to this category are delivered.
Declaration
public NotificationCategory.SoundOptions sound
Field Value
Type | Description |
---|---|
NotificationCategory.SoundOptions |
soundName
The filename (with extension) of the sound to be played when notifications posted to this category are delivered, if sound was set to Custom. The sound must reside locally on the device.
Declaration
public string soundName
Field Value
Type | Description |
---|---|
System.String |
vibration
[Android only] Determines how notifications posted to this category should vibrate.
Declaration
public NotificationCategory.VibrationOptions vibration
Field Value
Type | Description |
---|---|
NotificationCategory.VibrationOptions |
vibrationPattern
[Android only] The vibration pattern for notifications posted to this category, if vibration was set to Custom
Declaration
public int[] vibrationPattern
Field Value
Type | Description |
---|---|
System.Int32[] |