# TextUtils.TruncateAt

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# TruncateAt

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/text/TextUtils.TruncateAt "View this page in Java")  

```
class TruncateAt
```

|---|---|------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                            |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\<[android.text.TextUtils.TruncateAt](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#)\> ||
|   | ↳ | [android.text.TextUtils.TruncateAt](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#) |

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [TextUtils.TruncateAt.END](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:END),[TextUtils.TruncateAt.MARQUEE](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:MARQUEE),[TextUtils.TruncateAt.MIDDLE](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:MIDDLE),[TextUtils.TruncateAt.START](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:START) |-------------------------------------------------------------------------------------------------------------------------------------|--------| | [TextUtils.TruncateAt.END](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:END)         | <br /> | | [TextUtils.TruncateAt.MARQUEE](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:MARQUEE) | <br /> | | [TextUtils.TruncateAt.MIDDLE](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:MIDDLE)   | <br /> | | [TextUtils.TruncateAt.START](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:START)     | <br /> | |

## Summary

|                                                       Enum values                                                        ||
|-----------------------------------------------------------------------------------------------------------------------|---|
| [END](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:END) <br />         |
| [MARQUEE](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:MARQUEE) <br /> |
| [MIDDLE](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:MIDDLE) <br />   |
| [START](https://developer.android.com/reference/kotlin/android/text/TextUtils.TruncateAt#ENUM_VALUE:START) <br />     |

## Enum values

### END

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val END : TextUtils.TruncateAt
```  

### MARQUEE

Added in[API level 2](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val MARQUEE : TextUtils.TruncateAt
```  

### MIDDLE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val MIDDLE : TextUtils.TruncateAt
```  

### START

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val START : TextUtils.TruncateAt
```