---
title: recordType
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckrecordzonesubscription/recordtype-1fuqo
---

# recordType

The type of record that the subscription queries.

## Declaration

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

## See Also

### Accessing the Subscription Metadata

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