# LayoutElementBuilders.TextOverflowProp

# LayoutElementBuilders.TextOverflowProp

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/LayoutElementBuilders.java+class:androidx.wear.protolayout.LayoutElementBuilders.TextOverflowProp)  
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/LayoutElementBuilders.TextOverflowProp "View this page in Java")

<br />

```
@RequiresSchemaVersion(major = 1, minor = 0)
class LayoutElementBuilders.TextOverflowProp
```

<br />

*** ** * ** ***

An extensible`TextOverflow`property.

## Summary

|                                                                                                                                                         ### Nested types                                                                                                                                                         |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[LayoutElementBuilders.TextOverflowProp.Builder](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/LayoutElementBuilders.TextOverflowProp.Builder) Builder for[TextOverflowProp](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/LayoutElementBuilders.TextOverflowProp) |

|                               ### Public functions                                |
|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)       | [getValue](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/LayoutElementBuilders.TextOverflowProp#getValue())`()` Gets the value. |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/LayoutElementBuilders.TextOverflowProp#toString())`()`                 |

## Public functions

### getValue

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

```
fun getValue(): Int
```

Gets the value.  

### toString

```
fun toString(): String
```