Abra

class Abra

The Abra class is the entry point for executing accessibility tests.

Use the Abra.invoke function to create a new instance.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Stores the version of the compiled library

Functions

Link copied to clipboard
fun abraRules(configure: AbraRulesBuilder.() -> Unit): List<Rule>

Configure Abra rules using builder syntax.

Link copied to clipboard

Returns the applications running on the device and their foreground state. If value is true, the app is running in the foreground, else in background.

Link copied to clipboard
fun audit(ruleset: Ruleset): List<Result>

Perform audit using the given ruleset

fun audit(rules: List<Rule>): List<Result>

Perform an audit using the given rules.

Link copied to clipboard
fun googleRules(configure: GoogleRulesBuilder.() -> Unit): List<Rule>

Configure Google rules using builder syntax.

Link copied to clipboard
fun rules(ruleset: Ruleset): List<Rule>

Configure rules using a ruleset.

Link copied to clipboard

Captures a snapshot of the configured app