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 forInCallAdapter
.
-
-
Constructor Summary
Constructors Constructor Description ShadowInCallAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAudioRoute()
Returns audioRoute set by setAudioRoute.protected void
setAudioRoute(int route)
-
-
-
Method Detail
-
setAudioRoute
@Implementation(minSdk=21) protected void setAudioRoute(int route)
-
getAudioRoute
public int getAudioRoute()
Returns audioRoute set by setAudioRoute. Defaults to CallAudioState.ROUTE_EARPIECE.
-
-