AccessibilityServiceExtensions enum

Service extension constants for accessibility and semantics.

These constants will be used when registering service extensions in the framework, and they will also be used by tools and services that call these service extensions.

The String value for each of these extension names should be accessed by calling the extensionName property on the enum value.

Inheritance
Available extensions

Values

getSemanticsTree → const AccessibilityServiceExtensions

Name of service extension that, when called, returns the JSON serialized semantics tree.

This extension should only be called after semantics has been enabled (for example, by calling enableSemantics).

See also:

  • AccessibilityInspector.initServiceExtensions, where the service extension is registered.
enableSemantics → const AccessibilityServiceExtensions

Name of service extension that, when called, enables semantics in the app by creating a SemanticsHandle.

See also:

  • AccessibilityInspector.initServiceExtensions, where the service extension is registered.
disposeSemantics → const AccessibilityServiceExtensions

Name of service extension that, when called, disposes the SemanticsHandle created by enableSemantics.

See also:

  • AccessibilityInspector.initServiceExtensions, where the service extension is registered.

Properties

extensionName String
The full name of the service extension, including the accessibility. prefix.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AccessibilityServiceExtensions>
A constant List of the values in this enum, in order of their declaration.