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

# getProfileCommand(with:completionHandler:)

## Declaration

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

```swift
func profileCommand(with params: MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams) async throws
```
