---
title: "SCNetworkInterfaceSetMediaOptions(_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkinterfacesetmediaoptions(_:_:_:)"
---

# SCNetworkInterfaceSetMediaOptions(_:_:_:)

Sets the requested media subtype and options for the specified network interface.

## Declaration

```swift
func SCNetworkInterfaceSetMediaOptions(_ interface: SCNetworkInterface, _ subtype: CFString?, _ options: CFArray?) -> Bool
```

## Parameters

- `interface`: The network interface.
- `subtype`: The media subtype to set (for example, “autoselect” or “100baseTX”).
- `options`: The media options to set (for example, “half-duplex” or “full-duplex”). If NULL, the active options are not returned.

## Return Value

Return Value TRUE if the configuration was updated; FALSE if an error occurred.

## See Also

### Configuring Network Interfaces

- [SCNetworkInterfaceCopyAll()](systemconfiguration/scnetworkinterfacecopyall().md)
- [SCNetworkInterfaceCopyMTU(_:_:_:_:)](systemconfiguration/scnetworkinterfacecopymtu(_:_:_:_:).md)
- [SCNetworkInterfaceCopyMediaOptions(_:_:_:_:_:)](systemconfiguration/scnetworkinterfacecopymediaoptions(_:_:_:_:_:).md)
- [SCNetworkInterfaceCopyMediaSubTypeOptions(_:_:)](systemconfiguration/scnetworkinterfacecopymediasubtypeoptions(_:_:).md)
- [SCNetworkInterfaceCopyMediaSubTypes(_:)](systemconfiguration/scnetworkinterfacecopymediasubtypes(_:).md)
- [SCNetworkInterfaceCreateWithInterface(_:_:)](systemconfiguration/scnetworkinterfacecreatewithinterface(_:_:).md)
- [SCNetworkInterfaceForceConfigurationRefresh(_:)](systemconfiguration/scnetworkinterfaceforceconfigurationrefresh(_:).md)
- [SCNetworkInterfaceGetBSDName(_:)](systemconfiguration/scnetworkinterfacegetbsdname(_:).md)
- [SCNetworkInterfaceGetConfiguration(_:)](systemconfiguration/scnetworkinterfacegetconfiguration(_:).md)
- [SCNetworkInterfaceGetExtendedConfiguration(_:_:)](systemconfiguration/scnetworkinterfacegetextendedconfiguration(_:_:).md)
- [SCNetworkInterfaceGetHardwareAddressString(_:)](systemconfiguration/scnetworkinterfacegethardwareaddressstring(_:).md)
- [SCNetworkInterfaceGetInterface(_:)](systemconfiguration/scnetworkinterfacegetinterface(_:).md)
- [SCNetworkInterfaceGetInterfaceType(_:)](systemconfiguration/scnetworkinterfacegetinterfacetype(_:).md)
- [SCNetworkInterfaceGetLocalizedDisplayName(_:)](systemconfiguration/scnetworkinterfacegetlocalizeddisplayname(_:).md)
- [SCNetworkInterfaceGetSupportedInterfaceTypes(_:)](systemconfiguration/scnetworkinterfacegetsupportedinterfacetypes(_:).md)
