---
title: "siemenUnit(with:)"
framework: healthkit
role: symbol
role_heading: Type Method
path: "healthkit/hkunit/siemenunit(with:)"
---

# siemenUnit(with:)

Returns a HealthKit unit for measuring electrical conductance, using siemen units with the provided prefix.

## Declaration

```swift
class func siemenUnit(with prefix: HKMetricPrefix) -> Self
```

## Parameters

- `prefix`: A valid metric prefix value. For the complete list of prefix values, see doc://com.apple.healthkit/documentation/HealthKit/HKMetricPrefix.

## Return Value

Return Value A HealthKit unit for measuring electrical conductance based on siemens and the provided prefix.

## Discussion

Discussion This method is used to create prefixed versions of siemens. HealthKit often records electrodermal activity in microsiemens, as shown below.

## See Also

### Constructing electrical conductance units

- [siemen()](healthkit/hkunit/siemen().md)
