# Enums

The options calls take: match modes, directions, rotations, permission choices, accessibility
actions and stability signals.

## <kbd>class</kbd> `MatchMode`
How a text property is compared with a selector's value. 

## <kbd>class</kbd> `Direction`
Gesture direction: where the finger moves for ``swipe``, the content edge scrolled towards for ``scroll`` (``DOWN`` reveals content below). 

## <kbd>class</kbd> `Orientation`
Display geometry: portrait is at least as tall as it is wide, whatever the device's natural orientation (``Device.set_orientation``, ``DeviceInfo.orientation``). 

## <kbd>class</kbd> `DisplayRotation`
Display rotation relative to the device's natural orientation, named like AndroidX ``UiDevice``: ``LEFT`` is ``Surface.ROTATION_90``, ``UPSIDE_DOWN`` 180, ``RIGHT`` 270. 

## <kbd>class</kbd> `PermissionChoice`
A button of Android's runtime-permission dialog. Which ones a dialog offers depends on the permission, the Android version and whether it was asked before (``Device.await_permission_prompt``). 

## <kbd>class</kbd> `LocationAccuracy`
The Precise / Approximate choice of the location permission dialog (API 31+). 

## <kbd>class</kbd> `StandardAction`
A standard accessibility action that takes no arguments, as a screen reader performs it (``Element.perform_action``). Click and long click are not here: ``tap`` / ``long_tap`` touch the screen. ``PAGE_*`` need API 29+, ``PRESS_AND_HOLD`` API 30+. 

## <kbd>class</kbd> `StabilitySignal`
What ``App.await_screen_stable`` watches: the accessibility tree, the window pixels (0.5 % tolerance) or both. 

