---
title: "getProfileInfoCommand(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterelectricalmeasurement/getprofileinfocommand(with:completionhandler:)"
---

# getProfileInfoCommand(with:completionHandler:)

## Declaration

```swift
func getProfileInfoCommand(with params: MTRElectricalMeasurementClusterGetProfileInfoCommandParams?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func profileInfoCommand(with params: MTRElectricalMeasurementClusterGetProfileInfoCommandParams?) async throws
```
