---
title: interfaceTypeMatch
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/neondemandrule/interfacetypematch
---

# interfaceTypeMatch

An interface type to identify a network.

## Declaration

```swift
var interfaceTypeMatch: NEOnDemandRuleInterfaceType { get set }
```

## Discussion

Discussion The type of interface that this rule matches. If the current primary network interface is of this type and all of the other conditions in the rule match, then the rule matches. If this property is NEOnDemandRuleInterfaceTypeAny (the default), then the current primary interface type does not factor into the rule match.

## See Also

### Accessing match parameters

- [dnsSearchDomainMatch](networkextension/neondemandrule/dnssearchdomainmatch.md)
- [dnsServerAddressMatch](networkextension/neondemandrule/dnsserveraddressmatch.md)
- [NEOnDemandRuleInterfaceType](networkextension/neondemandruleinterfacetype.md)
- [ssidMatch](networkextension/neondemandrule/ssidmatch.md)
- [probeURL](networkextension/neondemandrule/probeurl.md)
