# TextView.BufferType

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

# BufferType

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/widget/TextView.BufferType "View this page in Java")  

```
class BufferType
```

|---|---|--------------------------------------------------------------------------------------------------------------------------|
| [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.widget.TextView.BufferType](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#)\> ||
|   | ↳ | [android.widget.TextView.BufferType](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#) |

|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [TextView.BufferType.EDITABLE](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#ENUM_VALUE:EDITABLE),[TextView.BufferType.NORMAL](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#ENUM_VALUE:NORMAL),[TextView.BufferType.SPANNABLE](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#ENUM_VALUE:SPANNABLE) |-----------------------------------------------------------------------------------------------------------------------------------------|--------| | [TextView.BufferType.EDITABLE](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#ENUM_VALUE:EDITABLE)   | <br /> | | [TextView.BufferType.NORMAL](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#ENUM_VALUE:NORMAL)       | <br /> | | [TextView.BufferType.SPANNABLE](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#ENUM_VALUE:SPANNABLE) | <br /> | |

Type of the text buffer that defines the characteristics of the text such as static, styleable, or editable.

## Summary

|                                                          Enum values                                                          ||
|----------------------------------------------------------------------------------------------------------------------------|---|
| [EDITABLE](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#ENUM_VALUE:EDITABLE) <br />   |
| [NORMAL](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#ENUM_VALUE:NORMAL) <br />       |
| [SPANNABLE](https://developer.android.com/reference/kotlin/android/widget/TextView.BufferType#ENUM_VALUE:SPANNABLE) <br /> |

## Enum values

### EDITABLE

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

```
enum val EDITABLE : TextView.BufferType
```  

### NORMAL

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

```
enum val NORMAL : TextView.BufferType
```  

### SPANNABLE

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

```
enum val SPANNABLE : TextView.BufferType
```