//Android/br.com.arch.toolkit.android.statemachine/StateMachine/Config/setInitialState
[android]
fun setInitialState(initialState: Int): StateMachine.Config
Sets the initial state key.
The configuration instance for chaining.
android
| Â | Â |
|---|---|
| initialState | The key for the initial state. |
| Â | Â |
|---|---|
| IllegalStateException | If the key is negative. |