# PressureMeasurementTrait.Attributes

# PressureMeasurementTrait.Attributes


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface PressureMeasurementTrait.Attributes : ClusterStruct
```

<br />

Known direct subclasses [PressureMeasurement](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurement)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurement` | API for the PressureMeasurement trait. |

*** ** * ** ***

Attributes for the PressureMeasurement cluster.

## Summary

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#acceptedCommandList()` A list of client-generated commands which are supported by this cluster server instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#attributeList()` A list of the attribute IDs of the attributes supported by the cluster instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#clusterRevision()` The revision of the server cluster specification supported by the cluster instance. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#featureMap()` Whether the server supports zero or more optional cluster features. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#generatedCommandList()` A list of server-generated commands (server to client) which are supported by this cluster server instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#maxMeasuredValue()` The maximum measured value indicates the maximum pressure value that can be measured. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#maxScaledValue()` The maximum scaled value indicates the maximum measurable value of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledValue()`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#measuredValue()` The measured value represents pressure in kPa, calculated at 10 times the pressure value. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#minMeasuredValue()` The minimum measured value indicates the minimum pressure value that can be measured. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#minScaledValue()` The minimum scaled value indicates the minimum measurable value of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledValue()`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scale()` The scale attribute defines the base 10 exponent used to calculate the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledValue()`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledTolerance()` The scaled tolerance indicates the possible error range around `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledValue()`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledValue()` The scaled value represents pressure in Pascals, using a formula that includes the base 10 exponent of scale applied to the pressure value. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#tolerance()` The tolerance attribute indicates the magnitude of possible error associated with the PressureMeasurement.MeasuredValue, defining the true value within a specific range around it. |

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### acceptedCommandList

```
val acceptedCommandList: List<UInt>
```

A list of client-generated commands which are supported by this cluster server instance.

### attributeList

```
val attributeList: List<UInt>
```

A list of the attribute IDs of the attributes supported by the cluster instance.

### clusterRevision

```
val clusterRevision: UShort
```

The revision of the server cluster specification supported by the cluster instance.

### featureMap

```
val featureMap: PressureMeasurementTrait.Feature
```

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

### generatedCommandList

```
val generatedCommandList: List<UInt>
```

A list of server-generated commands (server to client) which are supported by this cluster server instance.

### maxMeasuredValue

```
val maxMeasuredValue: Short?
```

The maximum measured value indicates the maximum pressure value that can be measured.

**Access type:** Read

### maxScaledValue

```
val maxScaledValue: Short?
```

The maximum scaled value indicates the maximum measurable value of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledValue()`.

**Access type:** Read

### measuredValue

```
val measuredValue: Short?
```

The measured value represents pressure in kPa, calculated at 10 times the pressure value.

**Access type:** Read

### minMeasuredValue

```
val minMeasuredValue: Short?
```

The minimum measured value indicates the minimum pressure value that can be measured.

**Access type:** Read

### minScaledValue

```
val minScaledValue: Short?
```

The minimum scaled value indicates the minimum measurable value of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledValue()`.

**Access type:** Read

### scale

```
val scale: Byte?
```

The scale attribute defines the base 10 exponent used to calculate the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledValue()`.

**Access type:** Read

### scaledTolerance

```
val scaledTolerance: UShort?
```

The scaled tolerance indicates the possible error range around `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PressureMeasurementTrait.Attributes#scaledValue()`.

**Access type:** Read

### scaledValue

```
val scaledValue: Short?
```

The scaled value represents pressure in Pascals, using a formula that includes the base 10 exponent of scale applied to the pressure value.

**Access type:** Read

### tolerance

```
val tolerance: UShort?
```

The tolerance attribute indicates the magnitude of possible error associated with the PressureMeasurement.MeasuredValue, defining the true value within a specific range around it.

**Access type:** Read