---
title: "readAttributeMaxPINCodeLength(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdoorlock/readattributemaxpincodelength(completion:)"
---

# readAttributeMaxPINCodeLength(completion:)

## Declaration

```swift
func readAttributeMaxPINCodeLength(completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeMaxPINCodeLength() async throws -> NSNumber
```
