# 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)

*** ** * ** ***


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

<br />

*** ** * ** ***

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

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.SpanModifiers.Builder` Builder for `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.SpanModifiers` |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.Clickable` | `https://developer.android.com/reference/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. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.SpanModifiers#toString()()` |

## Public methods

### getClickable

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

```
public @Nullable ModifiersBuilders.Clickable getClickable()
```

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

### toString

```
public @NonNull String toString()
```