<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMNetworkConfigurationProfile",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMNetworkConfigurationProfile"
  },
  "title" : "HMNetworkConfigurationProfile"
}
-->

# HMNetworkConfigurationProfile

A profile that provides information about network protection for an accessory.

```
class HMNetworkConfigurationProfile
```

## Overview

To increase security, HomeKit can restrict network access for specific accessories, including access to other accessories in the home, and to the internet. However, an accessory your app controls might need network access to carry out certain functions, like downloading new firmware.

Check the [`isNetworkAccessRestricted`](/documentation/HomeKit/HMNetworkConfigurationProfile/isNetworkAccessRestricted) property of an accessory’s network configuration profile to find out if an accessory has restricted access. You can use this information to ask the user to relax network restrictions in the Home app.

## Topics

### Restricting network access

[`var isNetworkAccessRestricted: Bool`](/documentation/HomeKit/HMNetworkConfigurationProfile/isNetworkAccessRestricted)

An indication of whether the accessory’s access to the network is restricted.

### Listening for access changes

[`var delegate: (any HMNetworkConfigurationProfileDelegate)?`](/documentation/HomeKit/HMNetworkConfigurationProfile/delegate)

A delegate that HomeKit tells about changes in the state of network access.

[`protocol HMNetworkConfigurationProfileDelegate`](/documentation/HomeKit/HMNetworkConfigurationProfileDelegate)

An interface that your app adopts to receive notifications about changes in the state of network access.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`HMAccessoryProfile`](/documentation/HomeKit/HMAccessoryProfile)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)