Package org.robolectric.shadows
Class ShadowCall.ShadowRttCall
- java.lang.Object
-
- org.robolectric.shadows.ShadowCall.ShadowRttCall
-
- Enclosing class:
- ShadowCall
@Implements(value=android.telecom.Call.RttCall.class, minSdk=27) public static class ShadowCall.ShadowRttCall extends Object
Robolectric test forCall.RttCall
.
-
-
Constructor Summary
Constructors Constructor Description ShadowRttCall()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
__constructor__(String telecomCallId, InputStreamReader receiveStream, OutputStreamWriter transmitStream, int mode, InCallAdapter inCallAdapter)
void
writeRemoteMessage(String message)
Writes a message to the RttCall buffer.
-
-
-
Method Detail
-
__constructor__
@Implementation protected void __constructor__(String telecomCallId, InputStreamReader receiveStream, OutputStreamWriter transmitStream, int mode, InCallAdapter inCallAdapter)
-
writeRemoteMessage
public void writeRemoteMessage(String message) throws IOException
Writes a message to the RttCall buffer. This simulates receiving a message from a sender during an RTT call.- Parameters:
message
- from sender.- Throws:
IOException
- if write to buffer fails.
-
-