Class ShadowInCallAdapter

java.lang.Object
org.robolectric.shadows.ShadowInCallAdapter

@Implements(value=android.telecom.InCallAdapter.class, isInAndroidSdk=false) public class ShadowInCallAdapter extends Object
Shadow for InCallAdapter.
  • Constructor Details

    • ShadowInCallAdapter

      public ShadowInCallAdapter()
  • Method Details

    • setAudioRoute

      @Implementation protected void setAudioRoute(int route)
    • getAudioRoute

      public int getAudioRoute()
      Returns audioRoute set by setAudioRoute. Defaults to CallAudioState.ROUTE_EARPIECE.