目录

NotificationDismissalReason

The reason a notification was dismissed.

type NotificationDismissalReason = 'userCanceled' | 'applicationHidden' | 'timedOut';

Types 

'userCanceled' 

The user explicitly dismissed the notification.

'applicationHidden' 

The notification was dismissed because the application was hidden.

'timedOut' 

The notification was dismissed because it timed out.