//Android/br.com.arch.toolkit.android.statemachine/StateMachine/State/onEnter
[android]
open fun onEnter(callback: () -> Unit): StateMachine.State
Sets a callback to be invoked when entering this state.
The state instance for chaining.
android
| Â | Â |
|---|---|
| callback | The callback instance. |