Version: 2023.1
언어: 한국어

PermissionCallbacks

class in UnityEngine.Android

/

다음으로부터 상속:AndroidJavaProxy

매뉴얼로 전환

설명

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

Events

PermissionDeniedExecuted when user chooses Deny when requesting permission.
PermissionDeniedAndDontAskAgainExecuted when user chooses Deny And Don't Ask Again (on newer Android versions it is expressed by Denying for the second time) when requesting permission or the operating system determines that it should not be requested again. If this event is not subscribed to, PermissionCallbacks.PermissionDenied will be fired as a fallback. Unreliable on newer Android versions, recommended to only connect to PermissionCallbacks.PermissionDenied.
PermissionGrantedExecuted when user chooses Allow when requesting permission.
PermissionRequestDismissedThe request for permission was dismissed without user explicitly choosing an option. If this even is not subscribed to, PermissionCallbacks.PermissionDenied will be fired as a fallback.

상속된 멤버

변수

javaInterfaceJava interface implemented by the proxy.

Public 함수

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.