For an application to access private data on the device, use device features like an in-built microphone or camera, or generally interact with the device outside of the application sandbox, it must have permission from the device’s user.
For more information about permissions on Android devices, see Permissions on Android.
Topic | 描述 |
---|---|
Android permissions in Unity | Understand Android permissions and how to work with them in Unity. |
Declare permissions for an application | Declare which permissions the application requires. An application can only request to use permissions that it declares. |
Request runtime permissions | Request permission to use device features or access private data outside of the application sandbox. |