public final class

ModifiersBuilders.ArcModifiers

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.ArcModifiers

Overview

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

Summary

Methods
public static ModifiersBuilders.ArcModifiersfromProto(ModifiersProto.ArcModifiers 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 TypeBuilders.FloatPropgetOpacity()

Gets the opacity of the element with a value from 0 to 1, where 0 means the element is completely transparent and 1 means the element is completely opaque.

public ModifiersBuilders.SemanticsgetSemantics()

Gets adds metadata for the modified element, for example, screen reader content descriptions.

public ModifiersProto.ArcModifierstoProto()

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 ModifiersBuilders.Semantics getSemantics()

Gets adds metadata for the modified element, for example, screen reader content descriptions.

public TypeBuilders.FloatProp getOpacity()

Gets the opacity of the element with a value from 0 to 1, where 0 means the element is completely transparent and 1 means the element is completely opaque. Dynamic value is supported.

public Fingerprint getFingerprint()

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

public static ModifiersBuilders.ArcModifiers fromProto(ModifiersProto.ArcModifiers proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

Returns the internal proto instance.

public java.lang.String toString()