---
title: "subscribeAttributeMaxPINCodeLength(with:subscriptionEstablished:reportHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdoorlock/subscribeattributemaxpincodelength(with:subscriptionestablished:reporthandler:)"
---

# subscribeAttributeMaxPINCodeLength(with:subscriptionEstablished:reportHandler:)

## Declaration

```swift
func subscribeAttributeMaxPINCodeLength(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
```
