public class FocusDirection internal constructor(private val value: Int)
The FocusDirection is used to specify the direction for a FocusManager.moveFocus request.
Members
Companion
public companion object
Properties
Next
public val Next: FocusDirection
Direction used in FocusManager.moveFocus to indicate that you are searching for the next focusable item.
Previous
public val Previous: FocusDirection
Direction used in FocusManager.moveFocus to indicate that you are searching for the previous focusable item.
Left
public 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.
Right
public 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.
Up
public 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.
Down
public 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.
Enter
public 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.
Exit
public val Exit: FocusDirection
Direction used in FocusManager.moveFocus to indicate that you want to move focus to the parent of the currently focused item.