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
-
Method Summary
Modifier and TypeMethodDescriptionint
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.
-