---
title: "getProfileInfoCommand(with:expectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterelectricalmeasurement/getprofileinfocommand(with:expectedvalues:expectedvalueinterval:completion:)"
---

# getProfileInfoCommand(with:expectedValues:expectedValueInterval:completion:)

## Declaration

```swift
func getProfileInfoCommand(with params: MTRElectricalMeasurementClusterGetProfileInfoCommandParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func profileInfoCommand(with params: MTRElectricalMeasurementClusterGetProfileInfoCommandParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
