identifier property
final
Provides an identifier for the semantics node in native accessibility hierarchy.
This value is not exposed to the users of the app.
It's usually used for UI testing with tools that work by querying the native accessibility, like UIAutomator, XCUITest, or Appium.
On Android, this is used for AccessibilityNodeInfo.setViewIdResourceName
.
It'll be appear in accessibility hierarchy as resource-id
.
On iOS, this will set UIAccessibilityElement.accessibilityIdentifier
.
Implementation
final String identifier;