public final class

ActionBuilders.AndroidActivity

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ActionBuilders.AndroidActivity

Overview

A launch action to send an intent to an Android activity.

Summary

Methods
public static ActionBuilders.AndroidActivityfromProto(ActionProto.AndroidActivity proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public java.lang.StringgetClassName()

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

public FingerprintgetFingerprint()

Get the fingerprint for this object, or null if unknown.

public java.util.Map<java.lang.String, ActionBuilders.AndroidExtra>getKeyToExtraMapping()

Gets the extras to be included in the intent.

public java.lang.StringgetPackageName()

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

public ActionProto.AndroidActivitytoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public java.lang.String getPackageName()

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

public java.lang.String getClassName()

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

public java.util.Map<java.lang.String, ActionBuilders.AndroidExtra> getKeyToExtraMapping()

Gets the extras to be included in the intent.

public Fingerprint getFingerprint()

Get the fingerprint for this object, or null if unknown.

public static ActionBuilders.AndroidActivity fromProto(ActionProto.AndroidActivity proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

Returns the internal proto instance.

public java.lang.String toString()