# 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 Summary

  Modifier and Type
  Method
  Description
  `void`
  `notificationPermissionResult(NotificationPermissionResult result)`
  Invoked once the platform resolves the permission request.

- ## 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