NotificationSettings.ShowsPreviews

From Xojo Documentation

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

New in 2020r2

Supported for all project types and targets.

If true, the app's notifications are allowed to show previews.