---
title: "getProfileInfoCommand(withExpectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterelectricalmeasurement/getprofileinfocommand(withexpectedvalues:expectedvalueinterval:completionhandler:)"
---

# getProfileInfoCommand(withExpectedValues:expectedValueInterval:completionHandler:)

## Declaration

```swift
func getProfileInfoCommand(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func profileInfoCommand(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
