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 Object
Shadow for
Phone.-
Constructor Summary
Constructors Constructor Description ShadowPhone() -
Method Summary
Modifier and Type Method Description voidaddCall(Call call)Add Call to a collection that returns when getCalls is called.protected CallAudioStategetCallAudioState()protected List<Call>getCalls()voidremoveCall(Call call)Remove call that has previously been added via addCall().
-
Constructor Details
-
ShadowPhone
public ShadowPhone()
-
-
Method Details
-
getCalls
-
getCallAudioState
-
addCall
Add Call to a collection that returns when getCalls is called. -
removeCall
Remove call that has previously been added via addCall().
-