Send feedback
Stay organized with collections
Save and categorize content based on your preferences.
GoogleARCore. IAndroidPermissionsCheck
Caution : The ARCore SDK for Unity is deprecated , and
no longer supported in Unity 2020 and later. This SDK should only be used by developers
working on existing projects which are unable to migrate to Unitys AR Foundation.
Key Point: Developers starting new projects should instead use
the ARCore Extensions for AR Foundation with Unity.
Interface for checking Android permission.
Summary The interface is used for MOCK unity test.
Inheritance Direct Known Subclasses:
GoogleARCore.AndroidPermissionsManager 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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-09-24 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?