Class

FocusDirection

The [FocusDirection] is used to specify the direction for a [FocusManager.

Common
value class FocusDirection internal constructor(private val value: Int)

The FocusDirection is used to specify the direction for a FocusManager.moveFocus request.

Companion Object

Properties

Common
val Next: FocusDirection

Direction used in FocusManager.moveFocus to indicate that you are searching for the next focusable item.

Common
val Previous: FocusDirection

Direction used in FocusManager.moveFocus to indicate that you are searching for the previous focusable item.

Common
val Left: FocusDirection

Direction used in FocusManager.moveFocus to indicate that you are searching for the next focusable item to the left of the currently focused item.

Common
val Right: FocusDirection

Direction used in FocusManager.moveFocus to indicate that you are searching for the next focusable item to the right of the currently focused item.

Common
val Up: FocusDirection

Direction used in FocusManager.moveFocus to indicate that you are searching for the next focusable item that is above the currently focused item.

Common
val Down: FocusDirection

Direction used in FocusManager.moveFocus to indicate that you are searching for the next focusable item that is below the currently focused item.

Common
val Enter: FocusDirection

Direction used in FocusManager.moveFocus to indicate that you are searching for the next focusable item that is a child of the currently focused item.

Common
val Exit: FocusDirection

Direction used in FocusManager.moveFocus to indicate that you want to move focus to the parent of the currently focused item.