Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

UNNotification.NotificationSettings

Checks notification settings.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
UNNotification 7.2 No No No No Yes

MBS( "UNNotification.NotificationSettings"; Selector )

Parameters

Parameter Description Example value
Selector What value to return or what action to do. "authorizationStatus"

Result

Returns value or error.

Description

Checks notification settings.
You can pass "update" to query new settings. This may be needed to know about changes the user may have made.
Pass "AuthorizationStatus" to get authorization status. Can be NotDetermined, Denied and Authorized.
Pass "alertStyle" to query alert style. Can be None, Banner or Alert.
Pass "soundSetting", "badgeSetting", "alertSetting", "notificationCenterSetting", "lockScreenSetting" or "carPlaySetting" to query settings. Can be NotSupported, Disabled or Enabled.

Examples

Query authorization status:

MBS( "UNNotification.NotificationSettings"; "AuthorizationStatus" )

Query alert style:

MBS( "UNNotification.NotificationSettings"; "alertStyle" )

Request update to settings:

MBS( "UNNotification.NotificationSettings"; "Update" )

Query sound setting:

MBS("UNNotification.NotificationSettings"; "soundSetting")

Query badge setting:

MBS("UNNotification.NotificationSettings"; "badgeSetting")

Query alert setting:

MBS("UNNotification.NotificationSettings"; "alertSetting")

Query notification center setting:

MBS("UNNotification.NotificationSettings"; "notificationCenterSetting")

Query lock screen setting:

MBS("UNNotification.NotificationSettings"; "lockScreenSetting")

Query car play setting:

MBS("UNNotification.NotificationSettings"; "carPlaySetting")


UNNotification.NextTriggerDate   -   UNNotification.PendingNotificationRequests

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins