public final class

ModifiersBuilders.Semantics

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.ModifiersBuilders.Semantics

Overview

A modifier for an element which has accessibility semantics associated with it. This should generally be used sparingly, and in most cases should only be applied to the top-level layout element or to Clickables.

Summary

Methods
public static ModifiersBuilders.SemanticsfromProto(ModifiersProto.Semantics proto)

public java.lang.StringgetContentDescription()

Gets the content description associated with this element.

public ModifiersProto.SemanticstoProto()

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

Methods

public java.lang.String getContentDescription()

Gets the content description associated with this element. This will be dictated when the element is focused by the screen reader. Intended for testing purposes only.

public static ModifiersBuilders.Semantics fromProto(ModifiersProto.Semantics proto)

public ModifiersProto.Semantics toProto()