Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.playtolia.com/llms.txt

Use this file to discover all available pages before exploring further.

Methods

MethodParametersReturnsNotes
GetState()PushStateCurrent notification state
Refresh()voidRe-check permission status
RegisterPushToken(token)stringvoidRegister FCM token with backend
RequestPushPermission()voidShow OS permission dialog
OpenNotificationSettings()voidOpen OS notification settings
GetPermission()string"Granted", "DeniedAlways", or "NotGranted"
AddListener(listener)Actionvoid
RemoveListener(listener)Actionvoid

PushState

FieldTypeNotes
PreferencesDictionary<string, bool>Notification category preferences
Permissionstring"Granted", "DeniedAlways", or "NotGranted"