Added in API level 28

Connection.RttTextStream


public static final class Connection.RttTextStream
extends Object

java.lang.Object
   ↳ android.telecom.Connection.RttTextStream


Provides methods to read and write RTT data to/from the in-call app.

Summary

Public methods

String read()

Reads a string from the in-call app, blocking if there is no data available.

String readImmediately()

Non-blocking version of read().

void write(String input)

Writes the string input into the text stream to the UI for this RTT call.

Inherited methods