---
title: SetTerminalType
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideostream/setterminaltype
---

# SetTerminalType

Sets the terminal type of the stream.

## Declaration

```occ
kern_return_t SetTerminalType(IOUserVideoStreamTerminalType in_terminal_type);
```

## Parameters

- `in_terminal_type`: The terminal type to set.

## Discussion

Discussion You can change the terminal type dynamically. On success, the system sends a notification to the host to update the object state.

## See Also

### Working with stream terminals

- [GetTerminalType](videodriverkit/iouservideostream/getterminaltype.md)
- [IOUserVideoStreamTerminalType](videodriverkit/videodriverkit/iouservideostreamterminaltype.md)
