---
title: HMError.Code.notAuthorizedForMicrophoneAccess
framework: homekit
role: symbol
role_heading: Case
path: homekit/hmerror/code/notauthorizedformicrophoneaccess
---

# HMError.Code.notAuthorizedForMicrophoneAccess

An error indicating microphone access is not authorized.

## Declaration

```swift
case notAuthorizedForMicrophoneAccess
```

## See Also

### Authorization errors

- [HMError.Code.invalidOrMissingAuthorizationData](homekit/hmerror/code/invalidormissingauthorizationdata.md)
- [HMError.Code.locationForHomeDisabled](homekit/hmerror/code/locationforhomedisabled.md)
- [HMError.Code.homeAccessNotAuthorized](homekit/hmerror/code/homeaccessnotauthorized.md)
- [HMError.Code.insufficientPrivileges](homekit/hmerror/code/insufficientprivileges.md)
- [HMError.Code.messageAuthenticationFailed](homekit/hmerror/code/messageauthenticationfailed.md)
- [HMError.Code.notAuthorizedForLocationServices](homekit/hmerror/code/notauthorizedforlocationservices.md)
- [HMError.Code.notSignedIntoiCloud](homekit/hmerror/code/notsignedintoicloud.md)
- [HMError.Code.ownershipFailure](homekit/hmerror/code/ownershipfailure.md)
- [HMError.Code.securityFailure](homekit/hmerror/code/securityfailure.md)
