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.
  • Constructor Details

    • ShadowCall

      public ShadowCall()
  • Method Details

    • sendRttRequest

      @Implementation(minSdk=28) protected void 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

      @Implementation(minSdk=28) protected void respondToRttRequest(int id, boolean accept)
    • hasRespondedToRttRequest

      public boolean hasRespondedToRttRequest()
      Determines whether respondToRttRequest() was called.
      Returns:
      True if respondToRttRequest() was called, false otherwise.
    • getId

      public String getId()