docs.unity3d.com
Search Results for

    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. https://developer.apple.com/documentation/usernotifications/unnotificationattachment?language=objc

    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. See Apple documentation for details. Available since iOS 15, always Active on lower versions. https://developer.apple.com/documentation/usernotifications/unnotificationinterruptionlevel?language=objc

    NotificationSetting

    Enum indicating the current status of a notification setting.

    NotificationSoundType

    The type of sound to use for the notification. See Apple documentation for details. https://developer.apple.com/documentation/usernotifications/unnotificationsound?language=objc

    PresentationOption

    Constants indicating how to present a notification in a foreground app https://developer.apple.com/documentation/usernotifications/unnotificationpresentationoptions?language=objc

    ShowPreviewsSetting

    The style for previewing a notification's content.

    iOSNotificationActionOptions

    Options for notification actions. These represent values from UNNotificationActionOptions. For more information, refer to Apple documentation.

    iOSNotificationCategoryOptions

    Options for notification category. Multiple options can be combined. These represent values from UNNotificationCategoryOptions. https://developer.apple.com/documentation/usernotifications/unnotificationcategoryoptions

    iOSNotificationTriggerType

    Describes notification trigger type

    Delegates

    iOSNotificationCenter.NotificationReceivedCallback

    The delegate type for the notification received callbacks.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)