Version: 2021.3

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 when requesting permission.
PermissionGrantedExecuted when user chooses Allow when requesting permission.

继承的成员

变量

javaInterface代理实现的 Java 接口。

公共函数

equals与 java.lang.Object equals() 方法等效。
hashCode与 java.lang.Object hashCode() 方法等效。
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.
toString与 java.lang.Object toString() 方法等效。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961