ActionBuilders.AndroidActivity.Builder

Added in 1.0.0
Deprecated in 1.2.0

class ActionBuilders.AndroidActivity.Builder


Builder for AndroidActivity

Summary

Public constructors

Public functions

ActionBuilders.AndroidActivity.Builder

Adds an entry into the extras to be included in the intent.

ActionBuilders.AndroidActivity

Builds an instance from accumulated values.

ActionBuilders.AndroidActivity.Builder
setClassName(className: String)

Sets the fully qualified class name (including the package) to send the intent to, for example, "com.google.weather.WeatherOverviewActivity".

ActionBuilders.AndroidActivity.Builder
setPackageName(packageName: String)

Sets the package name to send the intent to, for example, "com.google.weather".

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
Builder()

Public functions

addKeyToExtraMapping

Added in 1.0.0
Deprecated in 1.2.0
fun addKeyToExtraMapping(key: String, extra: ActionBuilders.AndroidExtra): ActionBuilders.AndroidActivity.Builder

Adds an entry into the extras to be included in the intent.

build

Added in 1.0.0
Deprecated in 1.2.0
fun build(): ActionBuilders.AndroidActivity

Builds an instance from accumulated values.

setClassName

Added in 1.0.0
Deprecated in 1.2.0
fun setClassName(className: String): ActionBuilders.AndroidActivity.Builder

Sets the fully qualified class name (including the package) to send the intent to, for example, "com.google.weather.WeatherOverviewActivity".

setPackageName

Added in 1.0.0
Deprecated in 1.2.0
fun setPackageName(packageName: String): ActionBuilders.AndroidActivity.Builder

Sets the package name to send the intent to, for example, "com.google.weather".