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 for
Call.RttCall
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
__constructor__
(String telecomCallId, InputStreamReader receiveStream, OutputStreamWriter transmitStream, int mode, InCallAdapter inCallAdapter) void
writeRemoteMessage
(String message) Writes a message to the RttCall buffer.
-
Constructor Details
-
ShadowRttCall
public ShadowRttCall()
-
-
Method Details
-
__constructor__
@Implementation protected void __constructor__(String telecomCallId, InputStreamReader receiveStream, OutputStreamWriter transmitStream, int mode, InCallAdapter inCallAdapter) -
writeRemoteMessage
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.
-