Namespace Unity.Notifications.iOS
Classes
AuthorizationRequest
Use this to request authorization to interact with the user when you with to deliver local and remote notifications are delivered to the user's device.
QueryLastRespondedNotificationOp
An operation for retrieving notification used to open the app. When app is not running, app launches first and then notification is delivered. There may be a delay until notification is delivered. This operation may finish immediately or it may require a few frames to pass. You can return it from coroutine to wait until completion.
iOSNotification
The iOSNotification class is used to schedule local notifications. It includes the content of the notification and the trigger conditions for delivery. An instance of this class is also returned when receiving remote notifications.
iOSNotificationAction
Represents action for an actionable notification. Actions are supposed to be added to notification categories, which are then registered prior to sending notifications. User can choose to tap a notification or one of associated actions. Application gets feedback of the choice.
iOSNotificationCategory
Represents notification category. Notification categories need to be registered on application start to be useful. By adding actions to category, you make all notification sent with this category identifier actionable.
iOSNotificationCenter
Use the iOSNotificationCenter to register notification channels and schedule local notifications.
iOSTextInputNotificationAction
Represents a special notification action with text input support. Each action within an application unique must have unique ID. When user chooses this action, a prompt for text input appears. If this action is responded to by the user, iOSNotificationCenter.GetLastRespondedNotificationAction will return it's ID, while iOSNotificationCenter.GetLastRespondedNotificationUserText will return the text entered.
Structs
iOSNotificationAttachment
Notification attachment. Refer to Apple documentation for details.
iOSNotificationCalendarTrigger
A trigger condition that causes a notification to be delivered at a specific date and time.
iOSNotificationLocationTrigger
A trigger condition that causes a notification to be delivered when the user's device enters or exits the specified geographic region.
iOSNotificationPushTrigger
A trigger condition that indicates the notification was sent from Apple Push Notification Service (APNs).
iOSNotificationSettings
iOSNotificationSettings contains the current authorization status and notification-related settings for your app. Your app must receive authorization to schedule notifications.
iOSNotificationTimeIntervalTrigger
A trigger condition that causes a notification to be delivered after the specified amount of time elapses.
Interfaces
iOSNotificationTrigger
iOSNotificationTrigger interface is implemented by notification trigger types representing an event that triggers the delivery of a notification.
Enums
AlertStyle
Presentation styles for alerts.
AuthorizationOption
Enum for requesting authorization to interact with the user.
AuthorizationStatus
Enum indicating whether the app is allowed to schedule notifications. You can capture these values in AuthorizationStatus property using GetNotificationSettings()method.
NotificationInterruptionLevel
Importance and delivery timing of a notification. For more information, refer to Apple documentation. UNNotificationInterruptionLevel is available since iOS version 15. On versions earlier than iOS 15, the interruption level is always active.
NotificationSetting
Enum indicating the current status of a notification setting.
NotificationSoundType
The type of sound to use for the notification. For more information, refer to Apple documentation.
PresentationOption
Constants indicating how to present a notification in a foreground app.
QueryLastRespondedNotificationState
The state of the query for last responded notification. Returned by State
ShowPreviewsSetting
The style for previewing a notification's content.
iOSNotificationActionOptions
Options for notification actions.
iOSNotificationCategoryOptions
Options for notification category. Multiple options can be combined. These represent values from UNNotificationCategoryOptions.
iOSNotificationTriggerType
Describes notification trigger type
Delegates
iOSNotificationCenter.NotificationReceivedCallback
The delegate type for the notification received callbacks.