---
title: recordType
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckquerysubscription/recordtype-4qgdo
---

# recordType

The type of record that the subscription queries.

## Declaration

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

## See Also

### Accessing the Subscription Metadata

- [zoneID](cloudkit/ckquerysubscription/zoneid.md)
