public final class

ModifiersBuilders.Clickable

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.ModifiersBuilders.Clickable

Overview

A modifier for an element which can have associated Actions for click events. When an element with a ClickableModifier is clicked it will fire the associated action.

Summary

Methods
public FingerprintgetFingerprint()

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

public java.lang.StringgetId()

Gets the ID associated with this action.

public ActionBuilders.ActiongetOnClick()

Gets the action to perform when the element this modifier is attached to is clicked.

public ModifiersProto.ClickabletoProto()

Returns the internal proto instance.

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

Methods

public java.lang.String getId()

Gets the ID associated with this action. Intended for testing purposes only.

public ActionBuilders.Action getOnClick()

Gets the action to perform when the element this modifier is attached to is clicked. Intended for testing purposes only.

public Fingerprint getFingerprint()

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

public ModifiersProto.Clickable toProto()

Returns the internal proto instance.