interface FocusOwner
A FocusOwner represents a focus being taken from the focus service. It serves only once, and emits released() whenever the focus is released. A FocusOwner that was released is invalid.
Since
1
Async |
interface Async |
OnReleasedListener |
Listener for released signal interface OnReleasedListener |
addOnReleasedListener |
Add a OnReleasedListener abstract fun addOnReleasedListener(onReleasedListener: OnReleasedListener!): Unit |
async |
abstract fun async(): Async! |
release |
Release the focus and invalidate this FocusOwner. abstract fun release(): Unit |
removeAllOnReleasedListeners |
Remove all OnReleasedListener abstract fun removeAllOnReleasedListeners(): Unit |
removeOnReleasedListener |
Remove a OnReleasedListener abstract fun removeOnReleasedListener(onReleasedListener: OnReleasedListener!): Unit |
setOnReleasedListener |
Set a OnReleasedListener abstract fun |
token |
The token carried by this FocusOwner. abstract fun token(): String! |