# ActionBuilders.LaunchAction

Artifact: [androidx.wear.tiles:tiles](https://developer.android.com/jetpack/androidx/releases/wear-tiles) [View Source](https://cs.android.com/search?q=file:androidx/wear/tiles/ActionBuilders.java+class:androidx.wear.tiles.ActionBuilders.LaunchAction) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

*** ** * ** ***


```
public final class ActionBuilders.LaunchAction implements ActionBuilders.Action
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
> Deprecated in Java

An action used to launch another activity on the system. This can hold multiple different underlying action types, which will be picked based on what the underlying runtime believes to be suitable.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.LaunchAction.Builder implements https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.Action.Builder` **This class is deprecated.** Deprecated in Java |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.AndroidActivity` | `[getAndroidActivity](https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.LaunchAction#getAndroidActivity())()` **This method is deprecated.** Deprecated in Java |

## Public methods

### getAndroidActivity

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

```
public @Nullable ActionBuilders.AndroidActivity [getAndroidActivity](https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.LaunchAction#getAndroidActivity())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

Gets an action to launch an Android activity. Intended for testing purposes only.