Class NotificationsSettings
Inheritance
System.Object
NotificationsSettings
Implements
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class NotificationsSettings : IAndroidPermissionRequired
Fields
DEFAULT_CATEGORY_ID
Declaration
public const string DEFAULT_CATEGORY_ID = "notification.category.default"
Field Value
Type | Description |
---|---|
System.String |
DEFAULT_CATEGORY_NAME
Declaration
public const string DEFAULT_CATEGORY_NAME = "Default"
Field Value
Type | Description |
---|---|
System.String |
Properties
AutoInitDelay
The delay (in seconds) after the Easy Mobile runtime has been initialized that this module is initializes itself automatically.
Declaration
public float AutoInitDelay { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The auto init delay. |
CategoryGroups
Gets or sets the notification category groups.
Declaration
public NotificationCategoryGroup[] CategoryGroups { get; set; }
Property Value
Type | Description |
---|---|
NotificationCategoryGroup[] | The category groups. |
DefaultCategory
Gets or sets the default notification category.
Declaration
public NotificationCategory DefaultCategory { get; set; }
Property Value
Type | Description |
---|---|
NotificationCategory | The default category. |
FirebaseTopics
Gets or sets the Firebase topics.
Declaration
public string[] FirebaseTopics { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The firebase topics. |
iOSAuthOptions
Gets or sets the iOS authentication options.
Declaration
public NotificationAuthOptions iOSAuthOptions { get; set; }
Property Value
Type | Description |
---|---|
NotificationAuthOptions | The i OSA uth options. |
IsAutoInit
Whether the Notifications module should initialize itself automatically.
Declaration
public bool IsAutoInit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
OneSignalAppId
Gets or sets the OneSignal app identifier.
Declaration
public string OneSignalAppId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The one signal app identifier. |
PushNotificationService
Gets or sets the push notification service.
Declaration
public PushNotificationProvider PushNotificationService { get; set; }
Property Value
Type | Description |
---|---|
PushNotificationProvider | The push notification service. |
UserCategories
Gets or sets the user notification categories.
Declaration
public NotificationCategory[] UserCategories { get; set; }
Property Value
Type | Description |
---|---|
NotificationCategory[] | The user categories. |
Methods
GetAndroidPermissions()
Declaration
public List<AndroidPermission> GetAndroidPermissions()
Returns
Type | Description |
---|---|
List<AndroidPermission> |
GetCategoryWithId(String)
Declaration
public NotificationCategory GetCategoryWithId(string categoryId)
Parameters
Type | Name | Description |
---|---|---|
System.String | categoryId |
Returns
Type | Description |
---|---|
NotificationCategory |