Interface NotificationPermissionCallback


public interface NotificationPermissionCallback

Callback used to receive the outcome of a notification permission request issued via com.codename1.ui.Display#requestNotificationPermission(NotificationPermissionCallback).

The callback is delivered on the EDT.

See also
  • NotificationPermissionResult

  • NotificationPermissionRequest

  • Method Details

    • notificationPermissionResult

      void notificationPermissionResult(NotificationPermissionResult result)

      Invoked once the platform resolves the permission request.

      Parameters
      • result: the result describing whether permission was granted and at which level