---
title: "SCNetworkInterfaceCopyMediaOptions(_:_:_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkinterfacecopymediaoptions(_:_:_:_:_:)"
---

# SCNetworkInterfaceCopyMediaOptions(_:_:_:_:_:)

Returns information media options for the specified network interface.

## Declaration

```swift
func SCNetworkInterfaceCopyMediaOptions(_ interface: SCNetworkInterface, _ current: UnsafeMutablePointer<Unmanaged<CFDictionary>?>?, _ active: UnsafeMutablePointer<Unmanaged<CFDictionary>?>?, _ available: UnsafeMutablePointer<Unmanaged<CFArray>?>?, _ filter: Bool) -> Bool
```

## Parameters

- `interface`: The network interface.
- `current`: On output, a dictionary representing the currently requested media options (subtype, options). If NULL, the current options are not returned.
- `active`: On output, a dictionary representing the active media options (subtype, options). If NULL, the active options are not returned.
- `available`: On output, an array representing the possible media options (subtype, options). If NULL, the current options are not returned.
- `filter`: A Boolean value indicating whether the available options should be filtered to exclude those options which would not normally be requested by a user/admin (for example, hw-loopback).

## Return Value

Return Value TRUE if requested information has been returned.

## See Also

### Configuring Network Interfaces

- [SCNetworkInterfaceCopyAll()](systemconfiguration/scnetworkinterfacecopyall().md)
- [SCNetworkInterfaceCopyMTU(_:_:_:_:)](systemconfiguration/scnetworkinterfacecopymtu(_:_:_:_:).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)
- [SCNetworkInterfaceGetSupportedProtocolTypes(_:)](systemconfiguration/scnetworkinterfacegetsupportedprotocoltypes(_:).md)
