Skip to content

Titanium.App.iOS.GetUserNotificationSettings

Dictionary object of parameters used to register the application with local notifications using the Titanium.App.iOS.registerUserNotificationSettings method.

Platforms: iphone, ipad, macos

Properties #

alertSetting#

Type: Number

The current alert settings.

alertStyle#

Type: Number

The current alert style used to display notifications.

authorizationStatus#

Type: Number

The current authorization status for using notifications.

badgeSetting#

Type: Number

The current badge settings.

carPlaySetting#

Type: Number

The current CarPlay settings.

categories#

Type: Array<Titanium.App.iOS.UserNotificationCategory>

Set of categories of user notification actions required by the application to use.

Only available in iOS < 10. iOS 10 and later returns notification settings more detailed,
check the other attributes for more information.

criticalAlertSetting#

Type: Number

The authorization status to play sounds for critical alerts.
Available in Titanium SDK 7.4.0 and later.

lockScreenSetting#

Type: Number

The current lock-screen settings.

notificationCenterSetting#

Type: Number

The current notification-center settings.

providesAppNotificationSettings#

Type: Number

A Boolean value indicating the system displays a button for in-app notification settings.
Available in Titanium SDK 7.4.0 and later.

soundSetting#

Type: Number

The current sound settings.

types#

Type: Array<Number>

Notification types to use.

Only available in iOS < 10. iOS 10 and later returns notification settings more detailed,
check the other attributes for more information.

Titanium SDK Documentation