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:

ParametersTypeDescription
isGrantedBooleanA value of true signifies that user accepted the notification permission otherwise not