NotificationSettings.ShowsAlerts

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aNotificationSettings.ShowsAlerts

New in 2020r2

Supported for all project types and targets.

If true, the app's notifications show alerts.