---
title: recordType
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckdatabasesubscription/recordtype-46v7a
---

# recordType

The type of record that the subscription queries.

## Declaration

```swift
var recordType: CKRecord.RecordType? { get set }
```
