Module rust_macios::user_notifications
source · Expand description
Push user-facing notifications to the user’s device from a server, or generate them locally from your app.
Structs
A trigger condition that causes the system to deliver a notification when the user’s device enters or exits a geographic region you specify.
The editable content for a notification.
The data for a local or remote notification the system delivers to your app.
A media file associated with a notification.
A type of notification your app supports and the custom actions that the system displays.
The uneditable content of a notification.
A protocol the system uses to provide context relevant to user
notifications.
A request to schedule a local notification, which includes the content of the notification and the trigger conditions for delivery.
The user’s response to an actionable notification.
An object that modifies the content of a remote notification before it’s delivered to the user.
The object for managing notification-related settings and the authorization status of your app.
The sound played upon delivery of a notification.
The common behavior for subclasses that trigger the delivery of a local or remote notification.
A trigger condition that indicates Apple Push Notification Service (APNs) has sent the notification.
The user’s response to an actionable notification, including any custom text that the user typed or dictated.
A trigger condition that causes the system to deliver a notification after the amount of time you specify elapses.
The central object for managing notification-related activities for your app or app extension.
Enums
Constants indicating the presentation styles for alerts.
Options that determine the authorized features of local and remote notifications.
Constants indicating whether the app is allowed to schedule notifications.
Constants that identify notification errors.
Constants indicating how to present a notification in a foreground app.
Constants that indicate the current status of a notification setting.
Constants indicating the style previewing a notification’s content.
Statics
The clipping rectangle for a thumbnail image.
A Boolean value indicating whether the system hides the attachment’s thumbnail.
The frame number of an animation to use as a thumbnail image.
A hint about an attachment’s file type.
Traits
A trait containing all the methods for
UNCalendarNotificationTrigger
A trait containing all the methods for
UNLocationNotificationTrigger
A trait containing all the methods for
UNMutableNotificationContent
A trait containing all the methods for
UNNotification
A trait containing all the methods for
UNNotificationAction
A trait containing all the methods for
UNNotificationActionIcon
A trait containing all the methods for
UNNotificationAttachment
A trait containing all the methods for
UNNotificationCategory
A trait containing all the methods for
UNNotificationContent
A trait containing all the methods for
UNNotificationRequest
A trait containing all the methods for
UNNotificationResponse
A trait containing all the methods for
UNNotificationServiceExtension
A trait containing all the methods for
UNNotificationSettings
A trait containing all the methods for
UNNotificationSound
A trait containing all the methods for
UNNotificationTrigger
A trait containing all the methods for
UNPushNotificationTrigger
A trait containing all the methods for
UNTextInputNotificationAction
A trait containing all the methods for
UNTextInputNotificationResponse
A trait containing all the methods for
UNTimeIntervalNotificationTrigger
A trait containing all the methods for
UNUserNotificationCenter
An interface for processing incoming notifications and responding to notification actions.
Functions
Registers an
NSObject
application delegate, and configures it for the various callbacks and
pointers we need to have.