-
public interface IPermissionObserverImplement this interface and provide an instance to INotificationsManager.addPermissionObserver in order to receive control when the push permission state has changed on the current device.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonNotificationPermissionChange(Boolean permission)Called when the permission state has changed. -
-
Method Detail
-
onNotificationPermissionChange
abstract Unit onNotificationPermissionChange(Boolean permission)
Called when the permission state has changed.
- Parameters:
permission- Whether this app/device now has push notification permission.
-
-
-
-