CustomAccessibilityAction


Custom accessibility action.

Summary

Public constructors

CustomAccessibilityAction(label: String, action: () -> Boolean)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

() -> Boolean

The function to invoke when this action is performed.

Cmn
String

The description of this action

Cmn

Public constructors

CustomAccessibilityAction

CustomAccessibilityAction(label: String, action: () -> Boolean)
Parameters
label: String

The description of this action

action: () -> Boolean

The function to invoke when this action is performed. The function should have no arguments and return a boolean result indicating whether the action is successfully handled.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

action

val action: () -> Boolean

The function to invoke when this action is performed. The function should have no arguments and return a boolean result indicating whether the action is successfully handled.

label

val labelString

The description of this action