FocusEnterExitScope


Receiver scope for FocusProperties.onEnter and FocusProperties.onExit. Developers can change focus with FocusRequester.requestFocus to change the focus or cancelFocus to stop the focus from changing.

Summary

Public functions

Unit

Stop focus from changing.

Cmn

Public properties

FocusDirection

The direction used to get into (with FocusProperties.onEnter) or leave (with FocusProperties.onExit) focus.

Cmn

Public functions

cancelFocus

fun cancelFocus(): Unit

Stop focus from changing.

Public properties

requestedFocusDirection

val requestedFocusDirectionFocusDirection

The direction used to get into (with FocusProperties.onEnter) or leave (with FocusProperties.onExit) focus.