PermissionCallbacks
Contains callbacks invoked when permission request is executed using Permission.RequestUserPermission.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
- Inherits from: AndroidJavaProxy
public class PermissionCallbacks : AndroidJavaProxy
Events
Member | Description |
|---|---|
| PermissionDenied | Triggered when the user chooses Deny for a permission request. The callback receives the permission name. |
| PermissionGranted | Triggered when the user chooses Allow for a permission request. The callback receives the permission name. |
| PermissionRequestDismissed | Triggered when the user dismisses the permission request without explicitly choosing any option. The callback receives the permission name. |