---
title: "init(deviceTypeStruct:)"
framework: matter
role: symbol
role_heading: Initializer
path: "matter/mtrdevicetyperevision/init(devicetypestruct:)"
---

# init(deviceTypeStruct:)

Initializes the receiver based on the values in the specified struct.

## Declaration

```swift
init?(deviceTypeStruct: MTRDescriptorClusterDeviceTypeStruct)
```
