toggle menu
livekit-android-sdk
2.18.3
SDK
switch theme
search in API
livekit-android-sdk
/
io.livekit.android.room.datastream.outgoing
/
TextStreamSender
Text
Stream
Sender
class
TextStreamSender
(
val
info
:
TextStreamInfo
,
destination
:
StreamDestination
<
String
>
)
:
BaseStreamSender
<
String
>
Members
Constructors
Text
Stream
Sender
Link copied to clipboard
constructor
(
info
:
TextStreamInfo
,
destination
:
StreamDestination
<
String
>
)
Properties
info
Link copied to clipboard
val
info
:
TextStreamInfo
is
Open
Link copied to clipboard
val
isOpen
:
Boolean
Functions
close
Link copied to clipboard
suspend
fun
close
(
reason
:
String
?
=
null
)
write
Link copied to clipboard
@
CheckResult
suspend
fun
write
(
data
:
String
)
:
Result
<
Unit
>
Write to the stream.