Function SCNetworkInterfaceCopyMediaSubTypes

Source
pub unsafe extern "C-unwind" fn SCNetworkInterfaceCopyMediaSubTypes(
    available: &CFArray,
) -> Option<CFRetained<CFArray>>
Available on crate feature SCNetworkConfiguration only.
Expand description

For the provided interface configuration options, return a list of available media subtypes.

Parameter available: The available options as returned by the SCNetworkInterfaceCopyMediaOptions function.

Returns: An array of available media subtypes CFString’s (e.g. 10BaseT/UTP, 100baseTX, etc). NULL if no subtypes are available.