Freigeben über


Connection.RttTextStream.Write(String) Method

Definition

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

[Android.Runtime.Register("write", "(Ljava/lang/String;)V", "", ApiSince=28)]
public void Write (string? input);
[<Android.Runtime.Register("write", "(Ljava/lang/String;)V", "", ApiSince=28)>]
member this.Write : string -> unit

Parameters

input
String

The message to send to the in-call app.

Attributes

Remarks

Writes the string into the text stream to the UI for this RTT call. Since RTT transmits text in real-time, this method should be called as often as text snippets are received from the remote user, even if it is only one character.

This method is not thread-safe -- calling it from multiple threads simultaneously may lead to interleaved text.

Java documentation for android.telecom.Connection.RttTextStream.write(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to