Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc46c85d authored by Hall Liu's avatar Hall Liu
Browse files

Update docs for RttCall#write

Update docs to clarify some confusion over recommended behavior for
paste/autocomplete operations.

Bug: 171986522
Test: docs only
Change-Id: I0515319a1aff00640fb4557584b17f10126eb215
parent 3a14c6bd
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1468,8 +1468,11 @@ public final class Call {

        /**
         * Writes the string {@param input} into the outgoing text stream for this RTT call. Since
         * RTT transmits text in real-time, this method should be called once for each character
         * the user enters into the device.
         * RTT transmits text in real-time, this method should be called once for each user action.
         * For example, when the user enters text as discrete characters using the keyboard, this
         * method should be called once for each character. However, if the user enters text by
         * pasting or autocomplete, the entire contents of the pasted or autocompleted text should
         * be sent in one call to this method.
         *
         * This method is not thread-safe -- calling it from multiple threads simultaneously may
         * lead to interleaved text.