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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add Call to a collection that returns when getCalls is called.protected CallAudioState
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().
-