Class RealTimeTextCallFeature
- Object
-
- CallFeature
-
- RealTimeTextCallFeature
-
public final class RealTimeTextCallFeature extends CallFeature
Provides functionality to send and receive real-time text messages during a call.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOnInfoReceivedListener(RealTimeTextInfoReceivedListener listener)
Adds the specified listener to receive OnInfoReceived events.void
removeOnInfoReceivedListener(RealTimeTextInfoReceivedListener listener)
Removes the specified listener to receive OnInfoReceived events.void
send(String text)
Sends a real-time text message.void
send(String text, boolean finalized)
Sends a real-time text message with an option to finalize it.-
Methods inherited from class CallFeature
finalize, getName
-
-
-
-
Method Detail
-
addOnInfoReceivedListener
public void addOnInfoReceivedListener(RealTimeTextInfoReceivedListener listener)
Adds the specified listener to receive OnInfoReceived events. Occurs when a real-time text info is received. Dispatched to the main thread on iOS.
-
removeOnInfoReceivedListener
public void removeOnInfoReceivedListener(RealTimeTextInfoReceivedListener listener)
Removes the specified listener to receive OnInfoReceived events. Occurs when a real-time text info is received. Dispatched to the main thread on iOS.
-
send
public void send(String text)
Sends a real-time text message.- Parameters:
text
- The text message to send.
-
send
public void send(String text, boolean finalized)
Sends a real-time text message with an option to finalize it.- Parameters:
text
- The text message to send.finalized
- Indicates whether the message is finalized.
-
-