---
title: "subscribeAttributeLockType(withMinInterval:maxInterval:params:subscriptionEstablished:reportHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdoorlock/subscribeattributelocktype(withmininterval:maxinterval:params:subscriptionestablished:reporthandler:)"
---

# subscribeAttributeLockType(withMinInterval:maxInterval:params:subscriptionEstablished:reportHandler:)

## Declaration

```swift
func subscribeAttributeLockType(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
```
