arch-android

//Android/br.com.arch.toolkit.android.statemachine/StateMachine/restoreInstanceState

restoreInstanceState

[android]
fun restoreInstanceState(savedInstanceState: ERROR CLASS: Symbol not found for Bundle??): StateMachine<STATE>

Restores the state of the machine from a Bundle.

Return

The state machine instance for chaining.

Parameters

android

   
savedInstanceState The bundle containing the saved state.

Throws

   
IllegalStateException If the machine is already started.