ActionBuilders.AndroidActivity.Builder

public final class ActionBuilders.AndroidActivity.Builder


Builder for AndroidActivity

Summary

Public methods

@NonNull ActionBuilders.AndroidActivity.Builder

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

@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 methods

addKeyToExtraMapping

@NonNull
public ActionBuilders.AndroidActivity.Builder addKeyToExtraMapping(
    @NonNull String key,
    @NonNull ActionBuilders.AndroidExtra extra
)

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

addKeyToExtraMapping

@NonNull
public ActionBuilders.AndroidActivity.Builder addKeyToExtraMapping(
    @NonNull String key,
    @NonNull ActionBuilders.AndroidExtra.Builder extraBuilder
)

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

build

@NonNull
public ActionBuilders.AndroidActivity build()

Builds an instance from accumulated values.

setClassName

@NonNull
public 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

@NonNull
public ActionBuilders.AndroidActivity.Builder setPackageName(@NonNull String packageName)

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