Class NotificationSettings
Inheritance
System.Object
NotificationSettings
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.ReferenceEquals(System.Object, System.Object)
Assembly: cs.temp.dll.dll
Syntax
public class NotificationSettings
Properties
AlertSetting
The authorization status for displaying alerts.
Declaration
public NotificationSettingStatus AlertSetting { get; }
Property Value
AlertStyle
The type of alert that the app may display when the device is unlocked.
Declaration
public NotificationAlertStyle AlertStyle { get; }
Property Value
AnnouncementSetting
The setting that indicates whether Siri can announce your app’s notifications.
Declaration
public NotificationSettingStatus AnnouncementSetting { get; }
Property Value
BadgeSetting
The setting that indicates whether badges appear on your app’s icon.
Declaration
public NotificationSettingStatus BadgeSetting { get; }
Property Value
CarPlaySetting
The setting that indicates whether your app’s notifications appear in CarPlay.
Declaration
public NotificationSettingStatus CarPlaySetting { get; }
Property Value
CriticalAlertSetting
The authorization status for playing sounds for critical alerts.
Declaration
public NotificationSettingStatus CriticalAlertSetting { get; }
Property Value
DeviceToken
The device token received while registering for remote notification service.
Declaration
public string DeviceToken { get; }
Property Value
Type |
Description |
System.String |
|
LockScreenSetting
The setting that indicates whether your app’s notifications appear on a device’s Lock screen.
Declaration
public NotificationSettingStatus LockScreenSetting { get; }
Property Value
NotificationCenterSetting
The setting that indicates whether your app’s notifications appear in Notification Center.
Declaration
public NotificationSettingStatus NotificationCenterSetting { get; }
Property Value
PermissionStatus
The permission granted by the user.
Declaration
public NotificationPermissionStatus PermissionStatus { get; }
Property Value
PreviewStyle
The setting that indicates whether the app shows a preview of the notification's content.
Declaration
public NotificationPreviewStyle PreviewStyle { get; }
Property Value
PushNotificationEnabled
Gets a value indicating whether push notification is enabled.
Declaration
public bool PushNotificationEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
SoundSetting
The authorization status for playing sounds for incoming notifications.
Declaration
public NotificationSettingStatus SoundSetting { get; }
Property Value
Methods
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()