Skip to main content

NotificationStatus

Namespace: BlazorNative.Core

The wire-mirrored outcome of a notification op (schedule / show / cancel / permission). Geolocation's shape minus LocationUnavailable. Denial (1/2/3) and error (4) are VALUES — never an exception, never a hang. The numeric values are the ABI contract; do not reorder.

public enum NotificationStatus

Inheritance ObjectValueTypeEnumNotificationStatus
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

NameValueDescription
Granted0Permission held; the op ran (posted / scheduled / cancelled).
Denied1Denied THIS time; a later request MAY prompt again.
DeniedPermanently2"Don't ask again" / iOS .denied — only a Settings change lifts it.
Restricted3Policy / MDM — the user CANNOT grant it.
Error4Unexpected host error (a caught native throw).