# ActionBuilders.LoadAction

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/ActionBuilders.java+class:androidx.wear.protolayout.ActionBuilders.LoadAction) 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 ActionBuilders.LoadAction implements ActionBuilders.Action
```

<br />

*** ** * ** ***

An action used to load (or reload) the layout contents.

## Summary

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

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/androidx/wear/protolayout/StateBuilders.State` | `https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.LoadAction#getRequestState()()` Gets the state to load the next layout with. |
| `@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/ActionBuilders.LoadAction#toString()()` |

## Public methods

### getRequestState

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

```
public @Nullable StateBuilders.State getRequestState()
```

Gets the state to load the next layout with. This will be included in the layout request sent after this action is invoked by a `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.Clickable`.

### toString

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