---
title: ARError.Code.microphoneUnauthorized
framework: arkit
role: symbol
role_heading: Case
path: arkit/arerror/code/microphoneunauthorized
---

# ARError.Code.microphoneUnauthorized

An error that indicates the app lacks user permission for the microphone.

## Declaration

```swift
case microphoneUnauthorized
```

## Discussion

Discussion When this error occurs, the app needs to prompt the user to give permission to use the microphone in Settings.

## See Also

### Errors

- [ARError.Code.requestFailed](arkit/arerror/code/requestfailed.md)
- [ARError.Code.cameraUnauthorized](arkit/arerror/code/cameraunauthorized.md)
- [ARError.Code.fileIOFailed](arkit/arerror/code/fileiofailed.md)
- [ARError.Code.insufficientFeatures](arkit/arerror/code/insufficientfeatures.md)
- [ARError.Code.invalidCollaborationData](arkit/arerror/code/invalidcollaborationdata.md)
- [ARError.Code.invalidConfiguration](arkit/arerror/code/invalidconfiguration.md)
- [ARError.Code.invalidReferenceImage](arkit/arerror/code/invalidreferenceimage.md)
- [ARError.Code.invalidReferenceObject](arkit/arerror/code/invalidreferenceobject.md)
- [ARError.Code.invalidWorldMap](arkit/arerror/code/invalidworldmap.md)
- [ARError.Code.objectMergeFailed](arkit/arerror/code/objectmergefailed.md)
- [ARError.Code.sensorFailed](arkit/arerror/code/sensorfailed.md)
- [ARError.Code.sensorUnavailable](arkit/arerror/code/sensorunavailable.md)
- [ARError.Code.unsupportedConfiguration](arkit/arerror/code/unsupportedconfiguration.md)
- [ARError.Code.worldTrackingFailed](arkit/arerror/code/worldtrackingfailed.md)
- [ARError.Code.geoTrackingFailed](arkit/arerror/code/geotrackingfailed.md)
