Interface OSNotificationResult

Result of an OS notification attempt

interface OSNotificationResult {
    error?: string;
    notification?: Notification;
    success: boolean;
}

Properties

error?: string

Error message if the notification failed

notification?: Notification

The created notification instance (if successful)

success: boolean

Whether the notification was successfully shown