toggle menu
stream-chat-android
6.8.0
androidJvm
switch theme
search in API
stream-chat-android-client
/
io.getstream.chat.android.client.utils.buffer
/
StartStopBuffer
Start
Stop
Buffer
class
StartStopBuffer
<
T
>
(
suffix
:
String
=
"Default"
,
bufferLimit
:
Int
=
NO_LIMIT
,
customTrigger
:
StateFlow
<
Boolean
>
?
=
null
)
Members
Constructors
Start
Stop
Buffer
Link copied to clipboard
constructor
(
suffix
:
String
=
"Default"
,
bufferLimit
:
Int
=
NO_LIMIT
,
customTrigger
:
StateFlow
<
Boolean
>
?
=
null
)
Functions
active
Link copied to clipboard
fun
active
(
src
:
String
)
enqueue
Data
Link copied to clipboard
fun
enqueueData
(
data
:
T
)
hold
Link copied to clipboard
fun
hold
(
)
subscribe
Link copied to clipboard
fun
subscribe
(
func
:
(
T
)
->
Unit
)