ModifiersBuilders.SpanModifiers


@RequiresSchemaVersion(major = 1, minor = 0)
public final class ModifiersBuilders.SpanModifiers


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

Summary

Nested types

Builder for SpanModifiers

Public methods

@Nullable ModifiersBuilders.Clickable

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

@NonNull String

Public methods

getClickable

Added in 1.0.0
public @Nullable ModifiersBuilders.Clickable getClickable()

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

toString

public @NonNull String toString()