@Implements(value=android.telecom.Phone.class, isInAndroidSdk=false) public class ShadowPhone extends Object
Phone
.Constructor | Description |
---|---|
ShadowPhone() |
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() |
@Implementation(minSdk=23) protected final List<Call> getCalls()
@Implementation(minSdk=23) protected final CallAudioState getCallAudioState()
public void addCall(Call call)