---
title: microphoneUnauthorized
framework: arkit
role: symbol
role_heading: Type Property
path: arkit/arerror/microphoneunauthorized
---

# microphoneUnauthorized

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

## Declaration

```swift
static var microphoneUnauthorized: ARError.Code { get }
```

## Discussion

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

## See Also

### Identifying an error cause

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