# ActionBuilders.AndroidActivity

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.AndroidActivity) 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)

*** ** * ** ***


```
class ActionBuilders.AndroidActivity
```

<br />

*** ** * ** ***

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

A launch action to send an intent to an Android activity.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/wear/tiles/ActionBuilders.AndroidActivity.Builder` **This class is deprecated.** Deprecated in Java |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `[getClassName](https://developer.android.com/reference/kotlin/androidx/wear/tiles/ActionBuilders.AndroidActivity#getClassName())()` **This function is deprecated.** Deprecated in Java |
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-map/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, https://developer.android.com/reference/kotlin/androidx/wear/tiles/ActionBuilders.AndroidExtra!>` | `[getKeyToExtraMapping](https://developer.android.com/reference/kotlin/androidx/wear/tiles/ActionBuilders.AndroidActivity#getKeyToExtraMapping())()` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `[getPackageName](https://developer.android.com/reference/kotlin/androidx/wear/tiles/ActionBuilders.AndroidActivity#getPackageName())()` **This function is deprecated.** Deprecated in Java |

## Public functions

### getClassName

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)

```
fun [getClassName](https://developer.android.com/reference/kotlin/androidx/wear/tiles/ActionBuilders.AndroidActivity#getClassName())(): String
```

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

Gets the fully qualified class name (including the package) to send the intent to, for example, "com.google.weather.WeatherOverviewActivity". Intended for testing purposes only.

### getKeyToExtraMapping

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)

```
fun [getKeyToExtraMapping](https://developer.android.com/reference/kotlin/androidx/wear/tiles/ActionBuilders.AndroidActivity#getKeyToExtraMapping())(): (Mutable)Map<String!, ActionBuilders.AndroidExtra!>
```

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

Gets the extras to be included in the intent. Intended for testing purposes only.

### getPackageName

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)

```
fun [getPackageName](https://developer.android.com/reference/kotlin/androidx/wear/tiles/ActionBuilders.AndroidActivity#getPackageName())(): String
```

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

Gets the package name to send the intent to, for example, "com.google.weather". Intended for testing purposes only.