NotificationPermissionCallback
Alias for a function that requests notification permissions.
Used to receive the result of the asynchronous PushMessaging.instance.requestNotificationPermission
method.
Syntax: typealias NotificationPermissionCallback = (isGranted: Boolean) -> Unit
Parameters:
Parameters | Type | Description |
---|---|---|
isGranted | Boolean | A value of true signifies that user accepted the notification permission otherwise not |
Updated 8 days ago