Constructor iOSNotificationCategory
iOSNotificationCategory(string)
Create notification category. Category must be registered using iOSNotificationCenter.SetNotificationCategories.
Declaration
public iOSNotificationCategory(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | A unique identifier for this category |
iOSNotificationCategory(string, IEnumerable<iOSNotificationAction>)
Create notification category. Category must be registered using iOSNotificationCenter.SetNotificationCategories.
Declaration
public iOSNotificationCategory(string id, IEnumerable<iOSNotificationAction> actions)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | A unique identifier for this category |
| IEnumerable<iOSNotificationAction> | actions | Add provided actions to this category |
iOSNotificationCategory(string, IEnumerable<iOSNotificationAction>, IEnumerable<string>)
Create notification category. Category must be registered using iOSNotificationCenter.SetNotificationCategories.
Declaration
public iOSNotificationCategory(string id, IEnumerable<iOSNotificationAction> actions, IEnumerable<string> intentIdentifiers)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | A unique identifier for this category |
| IEnumerable<iOSNotificationAction> | actions | Add provided actions to this category |
| IEnumerable<string> | intentIdentifiers | Add provided intent identifiers to this category |