Permission

struct in UnityEngine.Android

Cambiar al Manual

Descripción

Structure describing a permission that requires user authorization.

Variables Estáticas

CameraUsed when requesting permission or checking if permission has been granted to use the camera.
CoarseLocationUsed when requesting permission or checking if permission has been granted to use the users location with coarse granularity.
ExternalStorageReadUsed when requesting permission or checking if permission has been granted to read from external storage such as a SD card.
ExternalStorageWriteUsed when requesting permission or checking if permission has been granted to write to external storage such as a SD card.
FineLocationUsed when requesting permission or checking if permission has been granted to use the users location with high precision.
MicrophoneUsed when requesting permission or checking if permission has been granted to use the microphone.

Funciones Estáticas

HasUserAuthorizedPermissionCheck if the user has granted access to a device resource or information that requires authorization.
RequestUserPermissionRequest that the user grant access to a device resource or information that requires authorization.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961