Methods
| Method | Parameters | Returns | Notes |
|---|---|---|---|
GetState() | — | PushState | Current notification state |
Refresh() | — | void | Re-check permission status |
RegisterPushToken(token) | string | void | Register FCM token with backend |
RequestPushPermission() | — | void | Show OS permission dialog |
OpenNotificationSettings() | — | void | Open OS notification settings |
GetPermission() | — | string | "Granted", "DeniedAlways", or "NotGranted" |
AddListener(listener) | Action | void | |
RemoveListener(listener) | Action | void |
PushState
| Field | Type | Notes |
|---|---|---|
Preferences | Dictionary<string, bool> | Notification category preferences |
Permission | string | "Granted", "DeniedAlways", or "NotGranted" |