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 void
addCall(Call call)
Add Call to a collection that returns when getCalls is called.protected CallAudioState
getCallAudioState()
protected List<Call>
getCalls()
void
removeCall(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().
-