Permission

struct in UnityEngine.Android

Switch to Manual

Description

Structure describing a permission that requires user authorization.

Static Variables

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.

Static Functions

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.