---
title: productType
framework: sensorkit
role: symbol
role_heading: Instance Property
path: sensorkit/srdevice/producttype
---

# productType

A string that identifies the device used to save a sample.

## Declaration

```swift
var productType: String { get }
```

## Discussion

Discussion note: Samples saved using older versions of SensorKit may have a nil-valued product type that indicates the product type is unknown.

## See Also

### Accessing Device Information

- [model](sensorkit/srdevice/model.md)
- [name](sensorkit/srdevice/name.md)
- [systemName](sensorkit/srdevice/systemname.md)
- [systemVersion](sensorkit/srdevice/systemversion.md)
