public enum

ModifiersProto.SemanticsRole

extends java.lang.Enum<ModifiersProto.SemanticsRole>

 java.lang.Object

↳java.lang.Enum<ModifiersProto.SemanticsRole>

↳androidx.wear.protolayout.proto.ModifiersProto.SemanticsRole

Overview

 The type of user interface element. Accessibility services might use this to
 describe the element or do customizations.
 
Protobuf enum androidx.wear.protolayout.proto.SemanticsRole

Summary

Enum Constants
SEMANTICS_ROLE_BUTTON
 The element is a Button control.
SEMANTICS_ROLE_CHECKBOX
 The element is a Checkbox which is a component that represents two states
 (checked / unchecked).
SEMANTICS_ROLE_IMAGE
 The element is an image.
SEMANTICS_ROLE_NONE
 Role is undefined.
SEMANTICS_ROLE_RADIOBUTTON
 This element is a RadioButton which is a component to represent two states,
 selected and not selected.
SEMANTICS_ROLE_SWITCH
 The element is a Switch which is a two state toggleable component that
 provides on/off like options.
UNRECOGNIZED
Fields
public static final intSEMANTICS_ROLE_BUTTON_VALUE

 The element is a Button control.

public static final intSEMANTICS_ROLE_CHECKBOX_VALUE

 The element is a Checkbox which is a component that represents two states
 (checked / unchecked).

public static final intSEMANTICS_ROLE_IMAGE_VALUE

 The element is an image.

public static final intSEMANTICS_ROLE_NONE_VALUE

 Role is undefined.

public static final intSEMANTICS_ROLE_RADIOBUTTON_VALUE

 This element is a RadioButton which is a component to represent two states,
 selected and not selected.

public static final intSEMANTICS_ROLE_SWITCH_VALUE

 The element is a Switch which is a two state toggleable component that
 provides on/off like options.

Methods
public static ModifiersProto.SemanticsRoleforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()

public static ModifiersProto.SemanticsRolevalueOf(int value)

public static ModifiersProto.SemanticsRolevalueOf(java.lang.String name)

public static ModifiersProto.SemanticsRolevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

SEMANTICS_ROLE_NONE

 Role is undefined. It may be automatically populated.
 
SEMANTICS_ROLE_NONE = 0;

SEMANTICS_ROLE_IMAGE

 The element is an image.
 
SEMANTICS_ROLE_IMAGE = 1;

SEMANTICS_ROLE_BUTTON

 The element is a Button control.
 
SEMANTICS_ROLE_BUTTON = 2;

SEMANTICS_ROLE_CHECKBOX

 The element is a Checkbox which is a component that represents two states
 (checked / unchecked).
 
SEMANTICS_ROLE_CHECKBOX = 3;

SEMANTICS_ROLE_SWITCH

 The element is a Switch which is a two state toggleable component that
 provides on/off like options.
 
SEMANTICS_ROLE_SWITCH = 4;

SEMANTICS_ROLE_RADIOBUTTON

 This element is a RadioButton which is a component to represent two states,
 selected and not selected.
 
SEMANTICS_ROLE_RADIOBUTTON = 5;

UNRECOGNIZED

Fields

public static final int SEMANTICS_ROLE_NONE_VALUE

 Role is undefined. It may be automatically populated.
 
SEMANTICS_ROLE_NONE = 0;

public static final int SEMANTICS_ROLE_IMAGE_VALUE

 The element is an image.
 
SEMANTICS_ROLE_IMAGE = 1;

public static final int SEMANTICS_ROLE_BUTTON_VALUE

 The element is a Button control.
 
SEMANTICS_ROLE_BUTTON = 2;

public static final int SEMANTICS_ROLE_CHECKBOX_VALUE

 The element is a Checkbox which is a component that represents two states
 (checked / unchecked).
 
SEMANTICS_ROLE_CHECKBOX = 3;

public static final int SEMANTICS_ROLE_SWITCH_VALUE

 The element is a Switch which is a two state toggleable component that
 provides on/off like options.
 
SEMANTICS_ROLE_SWITCH = 4;

public static final int SEMANTICS_ROLE_RADIOBUTTON_VALUE

 This element is a RadioButton which is a component to represent two states,
 selected and not selected.
 
SEMANTICS_ROLE_RADIOBUTTON = 5;

Methods

public static ModifiersProto.SemanticsRole values()

public static ModifiersProto.SemanticsRole valueOf(java.lang.String name)

public final int getNumber()

public static ModifiersProto.SemanticsRole valueOf(int value)

Deprecated: Use ModifiersProto.SemanticsRole.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static ModifiersProto.SemanticsRole forNumber(int value)

public static <any> internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()