Struct NotificationCenterArgs
Initialization arguments for Notification
Inherited Members
Namespace: Unity.Notifications
Assembly: Unity.Notifications.Unified.dll
Syntax
public struct NotificationCenterArgs
Properties
AndroidChannelDescription
A user visible description for the channel. Optional, Android only.
Leave null, if you wish to create channel manually.
Set this to channel description for it to be created automatically during initialization.
If this is set, then Android
Declaration
public string AndroidChannelDescription { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
AndroidChannelId
A custom non-empty string to identify notification channel. Required, Android only.
All notifications will be sent to this channel.
Channel is created automatically during initialization if Android
Declaration
public string AndroidChannelId { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
AndroidChannelName
A user visible name for notification channel. Optional, Android only.
Leave null, if you wish to create channel manually.
Set this to channel name for it to be created automatically during initialization.
If this is set, then Android
Declaration
public string AndroidChannelName { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Default
Returns recommended default values for all settings.
Declaration
public static NotificationCenterArgs Default { get; }
Property Value
Type | Description |
---|---|
Notification |
PresentationOptions
Options specifying how notifications should be presented to user when they arrive.
On Android these only have effect if notification channel is created uppon initialization (all channel related properties are set).
On iOS these only have effect if permission to post notification is later requested using Request
Declaration
public NotificationPresentation PresentationOptions { readonly get; set; }
Property Value
Type | Description |
---|---|
Notification |