#[cfg_attr(
feature = "apple",
link(name = "UserNotifications", kind = "framework")
)]
extern "C" {}
#[path = "NSString_UserNotifications.rs"]
mod __NSString_UserNotifications;
#[path = "UNError.rs"]
mod __UNError;
#[path = "UNNotification.rs"]
mod __UNNotification;
#[path = "UNNotificationAction.rs"]
mod __UNNotificationAction;
#[path = "UNNotificationActionIcon.rs"]
mod __UNNotificationActionIcon;
#[path = "UNNotificationAttachment.rs"]
mod __UNNotificationAttachment;
#[path = "UNNotificationCategory.rs"]
mod __UNNotificationCategory;
#[path = "UNNotificationContent.rs"]
mod __UNNotificationContent;
#[path = "UNNotificationRequest.rs"]
mod __UNNotificationRequest;
#[path = "UNNotificationResponse.rs"]
mod __UNNotificationResponse;
#[path = "UNNotificationServiceExtension.rs"]
mod __UNNotificationServiceExtension;
#[path = "UNNotificationSettings.rs"]
mod __UNNotificationSettings;
#[path = "UNNotificationSound.rs"]
mod __UNNotificationSound;
#[path = "UNNotificationTrigger.rs"]
mod __UNNotificationTrigger;
#[path = "UNUserNotificationCenter.rs"]
mod __UNUserNotificationCenter;
pub use self::__UNError::UNErrorCode;
pub use self::__UNError::UNErrorDomain;
pub use self::__UNError::{
UNErrorCodeAttachmentCorrupt, UNErrorCodeAttachmentInvalidFileSize,
UNErrorCodeAttachmentInvalidURL, UNErrorCodeAttachmentMoveIntoDataStoreFailed,
UNErrorCodeAttachmentNotInDataStore, UNErrorCodeAttachmentUnrecognizedType,
UNErrorCodeBadgeInputInvalid, UNErrorCodeContentProvidingInvalid,
UNErrorCodeContentProvidingObjectNotAllowed, UNErrorCodeNotificationInvalidNoContent,
UNErrorCodeNotificationInvalidNoDate, UNErrorCodeNotificationsNotAllowed,
};
#[cfg(feature = "UserNotifications_UNNotification")]
pub use self::__UNNotification::UNNotification;
#[cfg(feature = "UserNotifications_UNNotificationAction")]
pub use self::__UNNotificationAction::UNNotificationAction;
pub use self::__UNNotificationAction::UNNotificationActionOptionNone;
pub use self::__UNNotificationAction::UNNotificationActionOptions;
#[cfg(feature = "UserNotifications_UNTextInputNotificationAction")]
pub use self::__UNNotificationAction::UNTextInputNotificationAction;
pub use self::__UNNotificationAction::{
UNNotificationActionOptionAuthenticationRequired, UNNotificationActionOptionDestructive,
UNNotificationActionOptionForeground,
};
#[cfg(feature = "UserNotifications_UNNotificationActionIcon")]
pub use self::__UNNotificationActionIcon::UNNotificationActionIcon;
#[cfg(feature = "UserNotifications_UNNotificationAttachment")]
pub use self::__UNNotificationAttachment::UNNotificationAttachment;
pub use self::__UNNotificationAttachment::UNNotificationAttachmentOptionsThumbnailClippingRectKey;
pub use self::__UNNotificationAttachment::UNNotificationAttachmentOptionsThumbnailHiddenKey;
pub use self::__UNNotificationAttachment::UNNotificationAttachmentOptionsThumbnailTimeKey;
pub use self::__UNNotificationAttachment::UNNotificationAttachmentOptionsTypeHintKey;
#[cfg(feature = "UserNotifications_UNNotificationCategory")]
pub use self::__UNNotificationCategory::UNNotificationCategory;
pub use self::__UNNotificationCategory::UNNotificationCategoryOptionNone;
pub use self::__UNNotificationCategory::UNNotificationCategoryOptions;
pub use self::__UNNotificationCategory::{
UNNotificationCategoryOptionAllowAnnouncement, UNNotificationCategoryOptionAllowInCarPlay,
UNNotificationCategoryOptionCustomDismissAction,
UNNotificationCategoryOptionHiddenPreviewsShowSubtitle,
UNNotificationCategoryOptionHiddenPreviewsShowTitle,
};
#[cfg(feature = "UserNotifications_UNMutableNotificationContent")]
pub use self::__UNNotificationContent::UNMutableNotificationContent;
#[cfg(feature = "UserNotifications_UNNotificationContent")]
pub use self::__UNNotificationContent::UNNotificationContent;
pub use self::__UNNotificationContent::UNNotificationContentProviding;
pub use self::__UNNotificationContent::UNNotificationInterruptionLevel;
pub use self::__UNNotificationContent::{
UNNotificationInterruptionLevelActive, UNNotificationInterruptionLevelCritical,
UNNotificationInterruptionLevelPassive, UNNotificationInterruptionLevelTimeSensitive,
};
#[cfg(feature = "UserNotifications_UNNotificationRequest")]
pub use self::__UNNotificationRequest::UNNotificationRequest;
pub use self::__UNNotificationResponse::UNNotificationDefaultActionIdentifier;
pub use self::__UNNotificationResponse::UNNotificationDismissActionIdentifier;
#[cfg(feature = "UserNotifications_UNNotificationResponse")]
pub use self::__UNNotificationResponse::UNNotificationResponse;
#[cfg(feature = "UserNotifications_UNTextInputNotificationResponse")]
pub use self::__UNNotificationResponse::UNTextInputNotificationResponse;
#[cfg(feature = "UserNotifications_UNNotificationServiceExtension")]
pub use self::__UNNotificationServiceExtension::UNNotificationServiceExtension;
pub use self::__UNNotificationSettings::UNAlertStyle;
pub use self::__UNNotificationSettings::UNAuthorizationStatus;
pub use self::__UNNotificationSettings::UNNotificationSetting;
#[cfg(feature = "UserNotifications_UNNotificationSettings")]
pub use self::__UNNotificationSettings::UNNotificationSettings;
pub use self::__UNNotificationSettings::UNShowPreviewsSetting;
pub use self::__UNNotificationSettings::{UNAlertStyleAlert, UNAlertStyleBanner, UNAlertStyleNone};
pub use self::__UNNotificationSettings::{
UNAuthorizationStatusAuthorized, UNAuthorizationStatusDenied, UNAuthorizationStatusEphemeral,
UNAuthorizationStatusNotDetermined, UNAuthorizationStatusProvisional,
};
pub use self::__UNNotificationSettings::{
UNNotificationSettingDisabled, UNNotificationSettingEnabled, UNNotificationSettingNotSupported,
};
pub use self::__UNNotificationSettings::{
UNShowPreviewsSettingAlways, UNShowPreviewsSettingNever, UNShowPreviewsSettingWhenAuthenticated,
};
#[cfg(feature = "UserNotifications_UNNotificationSound")]
pub use self::__UNNotificationSound::UNNotificationSound;
pub use self::__UNNotificationSound::UNNotificationSoundName;
#[cfg(feature = "UserNotifications_UNCalendarNotificationTrigger")]
pub use self::__UNNotificationTrigger::UNCalendarNotificationTrigger;
#[cfg(feature = "UserNotifications_UNLocationNotificationTrigger")]
pub use self::__UNNotificationTrigger::UNLocationNotificationTrigger;
#[cfg(feature = "UserNotifications_UNNotificationTrigger")]
pub use self::__UNNotificationTrigger::UNNotificationTrigger;
#[cfg(feature = "UserNotifications_UNPushNotificationTrigger")]
pub use self::__UNNotificationTrigger::UNPushNotificationTrigger;
#[cfg(feature = "UserNotifications_UNTimeIntervalNotificationTrigger")]
pub use self::__UNNotificationTrigger::UNTimeIntervalNotificationTrigger;
pub use self::__UNUserNotificationCenter::UNAuthorizationOptionNone;
pub use self::__UNUserNotificationCenter::UNAuthorizationOptions;
pub use self::__UNUserNotificationCenter::UNNotificationPresentationOptionNone;
pub use self::__UNUserNotificationCenter::UNNotificationPresentationOptions;
#[cfg(feature = "UserNotifications_UNUserNotificationCenter")]
pub use self::__UNUserNotificationCenter::UNUserNotificationCenter;
pub use self::__UNUserNotificationCenter::UNUserNotificationCenterDelegate;
pub use self::__UNUserNotificationCenter::{
UNAuthorizationOptionAlert, UNAuthorizationOptionAnnouncement, UNAuthorizationOptionBadge,
UNAuthorizationOptionCarPlay, UNAuthorizationOptionCriticalAlert,
UNAuthorizationOptionProvidesAppNotificationSettings, UNAuthorizationOptionProvisional,
UNAuthorizationOptionSound, UNAuthorizationOptionTimeSensitive,
};
pub use self::__UNUserNotificationCenter::{
UNNotificationPresentationOptionAlert, UNNotificationPresentationOptionBadge,
UNNotificationPresentationOptionBanner, UNNotificationPresentationOptionList,
UNNotificationPresentationOptionSound,
};