---
title: "readAttributeDcVoltage(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterelectricalmeasurement/readattributedcvoltage(completionhandler:)"
---

# readAttributeDcVoltage(completionHandler:)

## Declaration

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

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