<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCNetworkInterfaceCopyMediaOptions(_:_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCNetworkInterfaceCopyMediaOptions"
  },
  "title" : "SCNetworkInterfaceCopyMediaOptions(_:_:_:_:_:)"
}
-->

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

Returns information media options for the specified network interface.

```
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

`TRUE` if requested information has been returned.

## Discussion

---

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)