ActionBuilders.AndroidActivity.Builder


class ActionBuilders.AndroidActivity.Builder


Builder for AndroidActivity

Summary

Public constructors

Creates an instance of Builder.

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
@RequiresSchemaVersion(major = 1, minor = 0)
setClassName(className: String)

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

ActionBuilders.AndroidActivity.Builder
@RequiresSchemaVersion(major = 1, minor = 0)
setPackageName(packageName: String)

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

Public constructors

Builder

Added in 1.0.0
Builder()

Creates an instance of Builder.

Public functions

addKeyToExtraMapping

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 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
fun build(): ActionBuilders.AndroidActivity

Builds an instance from accumulated values.

setClassName

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 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.example.weather.WeatherOverviewActivity".

setPackageName

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
fun setPackageName(packageName: String): ActionBuilders.AndroidActivity.Builder

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