toggle menu
stream-chat-android
6.5.3
jvm
switch theme
search in API
stream-chat-android-core
/
io.getstream.chat.android.core.internal.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
)