# DimensionBuilders.EmProp.Builder

# DimensionBuilders.EmProp.Builder

Artifact:[androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout)  
[View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/DimensionBuilders.java+class:androidx.wear.protolayout.DimensionBuilders.EmProp.Builder)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/wear/protolayout/DimensionBuilders.EmProp.Builder "View this page in Java")

<br />

```
class DimensionBuilders.EmProp.Builder
```

<br />

*** ** * ** ***

Builder for[EmProp](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.EmProp)

## Summary

|                                                                                                                            ### Public constructors                                                                                                                             |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Builder](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.EmProp.Builder#Builder())`()` Creates an instance of[Builder](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.EmProp.Builder). |

|                                                             ### Public functions                                                              |
|-----------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DimensionBuilders.EmProp](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.EmProp)                 | [build](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.EmProp.Builder#build())`()` Builds an instance from accumulated values.                                                                                                                                                                                                                                             |
| [DimensionBuilders.EmProp.Builder](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.EmProp.Builder) | `@`[RequiresSchemaVersion](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion)`(major = 1, minor = 0)` [setValue](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.EmProp.Builder#setValue(float))`(value: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Sets the value, in em. |

## Public constructors

### Builder

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)  

```
Builder()
```

Creates an instance of[Builder](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.EmProp.Builder).  

## Public functions

### build

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)  

```
fun build(): DimensionBuilders.EmProp
```

Builds an instance from accumulated values.  

### setValue

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)  

```
@RequiresSchemaVersion(major = 1, minor = 0)
fun setValue(value: Float): DimensionBuilders.EmProp.Builder
```

Sets the value, in em.