GoogleARCore.IAndroidPermissionsCheck

Interface for checking Android permission.

Summary

The interface is used for MOCK unity test.

Inheritance

Direct Known Subclasses:GoogleARCore.AndroidPermissionsManager

Public functions

RequestAndroidPermission(string permissionName)

Public functions

RequestAndroidPermission

AsyncTask< AndroidPermissionsRequestResult > RequestAndroidPermission(
  string permissionName
)

Requests an Android permission from the user.

Details
Parameters
permissionName
The permission to be requested (e.g. android.permission.CAMERA).
Returns
An asynchronous task that completes when the user has accepted or rejected the requested permission and yields a AndroidPermissionsRequestResult that summarizes the result. If this method is called when another permissions request is pending, null will be returned instead.