Version: 2023.2
언어: 한국어

Permission

struct in UnityEngine.Android

매뉴얼로 전환

설명

Structure describing a permission that requires user authorization.

정적 변수

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.

정적 함수

HasUserAuthorizedPermissionCheck if the user has granted access to a device resource or information that requires authorization.
RequestUserPermissionRequest the user to grant access to a device resource or information that requires authorization.
RequestUserPermissionsRequest the user to grant access to multiple device resources or information that requires authorization.
ShouldShowRequestPermissionRationaleCheck whether to display the UI explaining the reason for permission before requesting it.