Package org.robolectric.shadows
Class ShadowCall
java.lang.Object
org.robolectric.shadows.ShadowCall
@Implements(value=android.telecom.Call.class, minSdk=21) public class ShadowCall extends Object
Robolectric test for
Call
.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowCall.ShadowRttCall
Robolectric test forCall.RttCall
. -
Constructor Summary
Constructors Constructor Description ShadowCall()
-
Method Summary
Modifier and Type Method Description void
clearHasSentRttRequest()
"Forgets" that sendRttRequest() was called.String
getId()
boolean
hasRespondedToRttRequest()
Determines whether respondToRttRequest() was called.boolean
hasSentRttRequest()
Determines whether sendRttRequest() was called.protected void
respondToRttRequest(int id, boolean accept)
protected void
sendRttRequest()
-
Constructor Details
-
ShadowCall
public ShadowCall()
-
-
Method Details
-
sendRttRequest
-
hasSentRttRequest
public boolean hasSentRttRequest()Determines whether sendRttRequest() was called.- Returns:
- true if sendRttRequest() was called, false otherwise.
-
clearHasSentRttRequest
public void clearHasSentRttRequest()"Forgets" that sendRttRequest() was called. -
respondToRttRequest
-
hasRespondedToRttRequest
public boolean hasRespondedToRttRequest()Determines whether respondToRttRequest() was called.- Returns:
- True if respondToRttRequest() was called, false otherwise.
-
getId
-