ActionBuilders.AndroidActivity.Builder

Added in 1.0.0
Deprecated in 1.2.0

public final class ActionBuilders.AndroidActivity.Builder


Builder for AndroidActivity

Summary

Public constructors

Public methods

@NonNull ActionBuilders.AndroidActivity.Builder

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

@NonNull ActionBuilders.AndroidActivity

Builds an instance from accumulated values.

@NonNull ActionBuilders.AndroidActivity.Builder

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

@NonNull ActionBuilders.AndroidActivity.Builder

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
public Builder()

Public methods

addKeyToExtraMapping

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ActionBuilders.AndroidActivity.Builder addKeyToExtraMapping(
    @NonNull String key,
    @NonNull ActionBuilders.AndroidExtra extra
)

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

build

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ActionBuilders.AndroidActivity build()

Builds an instance from accumulated values.

setClassName

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ActionBuilders.AndroidActivity.Builder setClassName(@NonNull String className)

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
public @NonNull ActionBuilders.AndroidActivity.Builder setPackageName(@NonNull String packageName)

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