---
title: SetTransportType
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideoclockdevice/settransporttype
---

# SetTransportType

Sets the transport type of the clock device.

## Declaration

```occ
kern_return_t SetTransportType(IOUserVideoTransportType in_transport_type);
```

## Parameters

- `in_transport_type`: IOUserVideoTransportType to set

## Discussion

Discussion Drivers can change the transport type of the clock device dynamically. The object sends a notification to the host to update the object state on success.

## See Also

### Working with transport type

- [GetTransportType](videodriverkit/iouservideoclockdevice/gettransporttype.md)
- [IOUserVideoTransportType](videodriverkit/videodriverkit/iouservideotransporttype.md)
