Package org.robolectric.shadows
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 Summary
Constructors Constructor Description ShadowInCallAdapter()
-
Method Summary
Modifier and Type Method Description int
getAudioRoute()
Returns audioRoute set by setAudioRoute.protected void
setAudioRoute(int route)
-
Constructor Details
-
ShadowInCallAdapter
public ShadowInCallAdapter()
-
-
Method Details
-
setAudioRoute
-
getAudioRoute
public int getAudioRoute()Returns audioRoute set by setAudioRoute. Defaults to CallAudioState.ROUTE_EARPIECE.
-