AccessibilityViewCommand
interface AccessibilityViewCommand
androidx.core.view.accessibility.AccessibilityViewCommand |
Functional interface used to create a custom accessibility action.
Summary
Nested classes | |
---|---|
abstract |
Object containing arguments passed into an |
Arguments for |
|
Arguments for |
|
Arguments for |
|
Arguments for |
|
Arguments for |
|
Arguments for |
|
Arguments for |
Public methods | |
---|---|
abstract Boolean |
perform(@NonNull view: View, @Nullable arguments: AccessibilityViewCommand.CommandArguments?) Performs the action. |
Public methods
perform
abstract fun perform(
@NonNull view: View,
@Nullable arguments: AccessibilityViewCommand.CommandArguments?
): Boolean
Performs the action.
Parameters | |
---|---|
view |
View: The view to act on |
arguments |
AccessibilityViewCommand.CommandArguments?: Optional action arguments |
Return | |
---|---|
Boolean |
true if the action was handled, false otherwise |