<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEOnDemandRuleInterfaceType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:@E@NEOnDemandRuleInterfaceType"
  },
  "title" : "NEOnDemandRuleInterfaceType"
}
-->

# NEOnDemandRuleInterfaceType

```
enum NEOnDemandRuleInterfaceType
```

## Topics

### Interface Types

[`NEOnDemandRuleInterfaceTypeAny`](/documentation/NetworkExtension/NEOnDemandRuleInterfaceType/any)

Match any interface type

[`NEOnDemandRuleInterfaceTypeEthernet`](/documentation/NetworkExtension/NEOnDemandRuleInterfaceType/ethernet)

Match wired ethernet interfaces

[`NEOnDemandRuleInterfaceTypeWiFi`](/documentation/NetworkExtension/NEOnDemandRuleInterfaceType/wiFi)

Match Wi-Fi interfaces

[`NEOnDemandRuleInterfaceTypeCellular`](/documentation/NetworkExtension/NEOnDemandRuleInterfaceType/cellular)

Match cellular data interfaces

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)