arch-android

//Android/br.com.arch.toolkit.android.statemachine/StateMachine/Config/setInitialState

setInitialState

[android]
fun setInitialState(initialState: Int): StateMachine.Config

Sets the initial state key.

Return

The configuration instance for chaining.

Parameters

android

   
initialState The key for the initial state.

Throws

   
IllegalStateException If the key is negative.