toggle menu
stream-video-android
1.0.20
androidJvm
switch theme
search in API
stream-video-android-core
/
io.getstream.video.android.core.socket.common.fsm.builder
/
FSMBuilder
FSMBuilder
class
FSMBuilder
<
STATE
:
Any
,
EVENT
:
Any
>
Members
Constructors
FSMBuilder
Link copied to clipboard
constructor
(
)
Properties
state
Functions
Link copied to clipboard
val
stateFunctions
:
MutableMap
<
KClass
<
out
STATE
>
,
Map
<
KClass
<
out
EVENT
>
,
StateFunction
<
STATE
,
EVENT
>
>
>
Functions
default
Handler
Link copied to clipboard
fun
defaultHandler
(
defaultHandler
:
(
STATE
,
EVENT
)
->
STATE
)
initial
State
Link copied to clipboard
fun
initialState
(
state
:
STATE
)
state
Link copied to clipboard
inline
fun
<
S
:
STATE
>
state
(
stateHandlerBuilder
:
StateHandlerBuilder
<
STATE
,
EVENT
,
S
>
.
(
)
->
Unit
)