Package org.robolectric.shadows
Class ShadowPhone
- java.lang.Object
-
- org.robolectric.shadows.ShadowPhone
-
@Implements(value=android.telecom.Phone.class, isInAndroidSdk=false) public class ShadowPhone extends java.lang.ObjectShadow forPhone.
-
-
Constructor Summary
Constructors Constructor Description ShadowPhone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCall(android.telecom.Call call)Add Call to a collection that returns when getCalls is called.protected android.telecom.CallAudioStategetCallAudioState()protected java.util.List<android.telecom.Call>getCalls()
-
-
-
Method Detail
-
getCalls
@Implementation(minSdk=23) protected final java.util.List<android.telecom.Call> getCalls()
-
getCallAudioState
@Implementation(minSdk=23) protected final android.telecom.CallAudioState getCallAudioState()
-
addCall
public void addCall(android.telecom.Call call)
Add Call to a collection that returns when getCalls is called.
-
-