Class RealTimeTextCallFeature


  • public final class RealTimeTextCallFeature
    extends CallFeature
    Provides functionality to send and receive real-time text messages during a call.
    • 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.