public final class AccessibilityNodeSnapshot

  1. Object
  2. AccessibilityNodeSnapshot
Immutable resolved node exported to platform accessibility adapters and test tooling.

Methods

public long getId()
public long getParentId()
public Component getComponent()
public String getVirtualKey()
public String getIdentifier()
public String getLabel()
public String getHint()
public String getDescription()
public String getValue()
public String getValidationError()
public String getPaneTitle()
public String getRoleDescription()
public AccessibilityRole getRole()
public AccessibilityCheckedState getChecked()
public AccessibilityLiveRegion getLiveRegion()
public AccessibilityRange getRange()
public AccessibilityCollectionInfo getCollectionInfo()
public AccessibilityCollectionItemInfo getCollectionItemInfo()
public Rectangle getBounds()
public Boolean getSelected()
public Boolean getExpanded()
public Boolean getEnabled()
public Boolean getInvalid()
public Boolean getBusy()
public Boolean getReadOnly()
public Boolean getRequired()
public Boolean getMultiline()
public Boolean getObscured()
public Boolean getPressed()
public Boolean getCurrent()
public boolean isModal()
public boolean isFocusable()
public boolean isFocused()
public int getHeadingLevel()
public List<Long> getChildIds()
public List<AccessibilityAction> getActions()
public AccessibilityAction getAction(String id)

Inherited methods

Method details

getId

public long getId()

getParentId

public long getParentId()

getComponent

public Component getComponent()

getVirtualKey

public String getVirtualKey()

getIdentifier

public String getIdentifier()

getLabel

public String getLabel()

getHint

public String getHint()

getDescription

public String getDescription()

getValue

public String getValue()

getValidationError

public String getValidationError()

getPaneTitle

public String getPaneTitle()

getRoleDescription

public String getRoleDescription()

getRole

public AccessibilityRole getRole()

getChecked

public AccessibilityCheckedState getChecked()

getLiveRegion

public AccessibilityLiveRegion getLiveRegion()

getRange

public AccessibilityRange getRange()

getCollectionInfo

public AccessibilityCollectionInfo getCollectionInfo()

getCollectionItemInfo

public AccessibilityCollectionItemInfo getCollectionItemInfo()

getBounds

public Rectangle getBounds()

getSelected

public Boolean getSelected()

getExpanded

public Boolean getExpanded()

getEnabled

public Boolean getEnabled()

getInvalid

public Boolean getInvalid()

getBusy

public Boolean getBusy()

getReadOnly

public Boolean getReadOnly()

getRequired

public Boolean getRequired()

getMultiline

public Boolean getMultiline()

getObscured

public Boolean getObscured()

getPressed

public Boolean getPressed()

getCurrent

public Boolean getCurrent()

isModal

public boolean isModal()

isFocusable

public boolean isFocusable()

isFocused

public boolean isFocused()

getHeadingLevel

public int getHeadingLevel()

getChildIds

public List<Long> getChildIds()

getActions

public List<AccessibilityAction> getActions()

getAction

public AccessibilityAction getAction(String id)