public final class

ActionBuilders.AndroidActivity.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ActionBuilders.AndroidActivity.Builder

Overview

Builder for ActionBuilders.AndroidActivity

Summary

Constructors
publicBuilder()

Creates an instance of ActionBuilders.AndroidStringExtra.Builder.

Methods
public ActionBuilders.AndroidActivity.BuilderaddKeyToExtraMapping(java.lang.String key, ActionBuilders.AndroidExtra extra)

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

public ActionBuilders.AndroidActivitybuild()

Builds an instance from accumulated values.

public ActionBuilders.AndroidActivity.BuildersetClassName(java.lang.String className)

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

public ActionBuilders.AndroidActivity.BuildersetPackageName(java.lang.String packageName)

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

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Creates an instance of ActionBuilders.AndroidStringExtra.Builder.

Methods

public ActionBuilders.AndroidActivity.Builder setPackageName(java.lang.String packageName)

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

public ActionBuilders.AndroidActivity.Builder setClassName(java.lang.String className)

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

public ActionBuilders.AndroidActivity.Builder addKeyToExtraMapping(java.lang.String key, ActionBuilders.AndroidExtra extra)

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

Builds an instance from accumulated values.