Show / Hide Table of Contents

Class ISN_UNNotificationSettings

The object for managing notification-related settings and the authorization status of your app

Inheritance
System.Object
ISN_UNNotificationSettings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.UserNotifications
Assembly: cs.temp.dll.dll
Syntax
public class ISN_UNNotificationSettings

Properties

AlertSetting

The authorization status for displaying alerts.

Declaration
public ISN_UNNotificationStatus AlertSetting { get; }
Property Value
Type Description
ISN_UNNotificationStatus

AlertStyle

The type of alert that the app may display when the device is unlocked.

When alerts are authorized, this property specifies the presentation style for alerts when the device is unlocked. The user may choose to display alerts as automatically disappearing banners or as modal windows that require explicit dismissal. The user may also choose not to display alerts at all.

Declaration
public ISN_UNAlertStyle AlertStyle { get; }
Property Value
Type Description
ISN_UNAlertStyle

AuthorizationStatus

The authorization status indicating the app’s ability to interact with the user.

Declaration
public ISN_UNAuthorizationStatus AuthorizationStatus { get; }
Property Value
Type Description
ISN_UNAuthorizationStatus

BadgeSetting

The authorization status for badging your app’s icon.

When this setting is enabled, notifications may update the badge value displayed on top of the app’s icon. The badge value is stored in the badge property of the UNNotificationContent object.

Declaration
public ISN_UNNotificationStatus BadgeSetting { get; }
Property Value
Type Description
ISN_UNNotificationStatus

CarPlaySetting

The setting that indicates whether your app’s notifications may be displayed in a CarPlay environment.

Declaration
public ISN_UNNotificationStatus CarPlaySetting { get; }
Property Value
Type Description
ISN_UNNotificationStatus

LockScreenSetting

The setting that indicates whether your app’s notifications appear onscreen when the device is locked. Even if the user disables lock screen notifications, your notifications may still appear onscreen when the device is unlocked.

Declaration
public ISN_UNNotificationStatus LockScreenSetting { get; }
Property Value
Type Description
ISN_UNNotificationStatus

NotificationCenterSetting

The setting that indicates whether your app’s notifications are displayed in Notification Center. Your app’s notifications appear in Notification Center by default, but the user may disable this setting later.

Declaration
public ISN_UNNotificationStatus NotificationCenterSetting { get; }
Property Value
Type Description
ISN_UNNotificationStatus

ShowPreviewsSetting

The setting for whether apps show a preview of the notification's content.

Declaration
public ISN_UNShowPreviewsSetting ShowPreviewsSetting { get; }
Property Value
Type Description
ISN_UNShowPreviewsSetting

SoundSetting

The authorization status for playing sounds for incoming notifications.

When this setting is enabled, notifications may play sounds upon delivery. The sound to be played for the notification is stored in the sound property of the UNNotificationContent object.

Declaration
public ISN_UNNotificationStatus SoundSetting { get; }
Property Value
Type Description
ISN_UNNotificationStatus
In This Article
Back to top Generated by DocFX