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 static ModifiersBuilders.ClickablefromProto(ModifiersProto.Clickable proto)

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

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 static ModifiersBuilders.Clickable fromProto(ModifiersProto.Clickable proto)

public ModifiersProto.Clickable toProto()