# ModifiersBuilders.SpanModifiers

# ModifiersBuilders.SpanModifiers

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

<br />

```
@RequiresSchemaVersion(major = 1, minor = 0)
class ModifiersBuilders.SpanModifiers
```

<br />

*** ** * ** ***

[Modifiers](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Modifiers)that can be used with[androidx.wear.protolayout.LayoutElementBuilders.Span](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/LayoutElementBuilders.Span)elements. These may change the way they are drawn, or change their behaviour.

## Summary

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

|                                                          ### Public functions                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ModifiersBuilders.Clickable](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Clickable)`?` | [getClickable](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.SpanModifiers#getClickable())`()` Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped. |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)                                                      | [toString](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.SpanModifiers#toString())`()`                                                                                                                                |

## Public functions

### getClickable

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

```
fun getClickable(): ModifiersBuilders.Clickable?
```

Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.  

### toString

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