---
title: transportType
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/transporttype
---

# transportType

The transport type of the device.

## Declaration

```swift
var transportType: Int32 { get }
```

## Discussion

Discussion The value of this property represents a capture device’s transport type, such as USB or PCI. The value is an IOKit framework transport type constant (kIOAudioDeviceTransportType).

## See Also

### Inspecting device characteristics

- [isVirtualDevice](avfoundation/avcapturedevice/isvirtualdevice.md)
- [constituentDevices](avfoundation/avcapturedevice/constituentdevices.md)
- [hasMediaType(_:)](avfoundation/avcapturedevice/hasmediatype(_:).md)
- [supportsSessionPreset(_:)](avfoundation/avcapturedevice/supportssessionpreset(_:).md)
