Package org.mozilla.geckoview
Interface GeckoSession.PermissionDelegate.Callback
- Enclosing interface:
- GeckoSession.PermissionDelegate
public static interface GeckoSession.PermissionDelegate.Callback
Callback interface for notifying the result of a permission request.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
grant()
Called by the implementation after permissions are granted; the implementation must call either grant() or reject() for every request.default void
reject()
Called by the implementation when permissions are not granted; the implementation must call either grant() or reject() for every request.
-
Method Details
-
grant
@UiThread default void grant()Called by the implementation after permissions are granted; the implementation must call either grant() or reject() for every request. -
reject
@UiThread default void reject()Called by the implementation when permissions are not granted; the implementation must call either grant() or reject() for every request.
-