docs.unity3d.com
    Show / Hide Table of Contents

    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.

    iOSNotification

    The iOSNotification class is used 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.

    iOSNotificationActionOptions

    Options for notification actions. These represent values from UNNotificationActionOptions.

    iOSNotificationCategoryOptions

    Options for notification category. Multiple options can be combined. These represent values from UNNotificationCategoryOptions.

    iOSNotificationTriggerType

    Describes notification trigger type

    NotificationSetting

    Enum indicating the current status of a notification setting.

    PresentationOption

    Constants indicating how to present a notification in a foreground app

    ShowPreviewsSetting

    The style for previewing a notification's content.

    Delegates

    iOSNotificationCenter.NotificationReceivedCallback

    The delegate type for the notification received callbacks.

    In This Article
    • Classes
    • Structs
    • Interfaces
    • Enums
    • Delegates
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023