//Android/br.com.arch.toolkit.android.statemachine/StateMachine/Config
[android]
class Config
Configuration for the StateMachine.
| Name | Summary |
|---|---|
| initialState | [android] var initialState: Int The key for the initial state. |
| onChangeState | [android] var onChangeState: (Int) -> Unit? The global state change callback. |
| Name | Summary |
|---|---|
| setInitialState | [android] fun setInitialState(initialState: Int): StateMachine.Config Sets the initial state key. |
| setOnChangeState | [android] fun setOnChangeState(onChangeState: (Int) -> Unit): StateMachine.Config Sets the global state change callback. |