Class StateMachine
-
- All Implemented Interfaces:
public final class StateMachineA finite state machine implementation for managing WebView states and transitions. This class tracks state changes, logs transitions, and maintains a history of states. Currently stateMachine is used only for RenderViewSiblings.
-
-
Field Summary
Fields Modifier and Type Field Description private final InMobiLoggerlogger
-
Constructor Summary
Constructors Constructor Description StateMachine(Integer initialState, InMobiLogger logger)
-
Method Summary
Modifier and Type Method Description final InMobiLoggergetLogger()Optional logger to record state transitions and events final Integertransition(Integer event)final IntegergetState()-
-
Constructor Detail
-
StateMachine
StateMachine(Integer initialState, InMobiLogger logger)
-
-
Method Detail
-
getLogger
final InMobiLogger getLogger()
Optional logger to record state transitions and events
-
transition
final Integer transition(Integer event)
-
-
-
-