public final class

ModifiersBuilders.SpanModifiers

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.SpanModifiers

Overview

ModifiersBuilders.Modifiers that can be used with LayoutElementBuilders.Span elements. These may change the way they are drawn, or change their behaviour.

Summary

Methods
public static ModifiersBuilders.SpanModifiersfromProto(ModifiersProto.SpanModifiers proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public ModifiersBuilders.ClickablegetClickable()

Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.

public FingerprintgetFingerprint()

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

public ModifiersProto.SpanModifierstoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public ModifiersBuilders.Clickable getClickable()

Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.

public Fingerprint getFingerprint()

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

Creates a new wrapper instance from the proto.

Returns the internal proto instance.

public java.lang.String toString()