queryAuthorization(for:)
Checks whether the current session is authorized for particular authorization types without requesting authorization.
Declaration
final func queryAuthorization(for authorizationTypes: [ARKitSession.AuthorizationType]) async -> [ARKitSession.AuthorizationType : ARKitSession.AuthorizationStatus]Parameters
- authorizationTypes:
The authorization types you want to check.
Return Value
A list of the authorization statuses for each authorization type you passed in authorizationTypes.