PermissionCallbacks

class in UnityEngine.Android

/

Inherits from:AndroidJavaProxy

/

Implemented in:UnityEngine.AndroidJNIModule

Description

Contains callbacks invoked when permission request is executed using Permission.RequestUserPermission.

Events

PermissionDeniedTriggered when the user chooses Deny for a permission request.
PermissionDeniedAndDontAskAgainTriggered when the user chooses Deny And Don't Ask Again for a permission request or denies the permission twice on newer Android versions, or the operating system determines that it should not be requested again.
PermissionGrantedTriggered when the user chooses Allow for a permission request.
PermissionRequestDismissedTriggered when the user dismisses the permission request without explicitly choosing any option.

Inherited Members

Properties

javaInterfaceJava interface implemented by the proxy.

Public Methods

equalsThe equivalent of the java.lang.Object equals() method.
hashCodeThe equivalent of the java.lang.Object hashCode() method.
InvokeCalled by the java vm whenever a method is invoked on the java proxy interface. You can override this to run special code on method invocation, or you can leave the implementation as is, and leave the default behavior which is to look for c# methods matching the signature of the java method.
toStringThe equivalent of the java.lang.Object toString() method.

Did you find this page useful? Please give it a rating: