@Implements(value=android.telecom.InCallService.class, minSdk=23) public class ShadowInCallService extends ShadowService
InCallService.| Constructor | Description |
|---|---|
ShadowInCallService() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
__constructor__() |
|
void |
addCall(Call call) |
|
protected boolean |
canAddCall() |
|
BluetoothDevice |
getBluetoothAudio() |
|
protected CallAudioState |
getCallAudioState() |
|
protected void |
requestBluetoothAudio(BluetoothDevice bluetoothDevice) |
|
protected void |
setAudioRoute(int audioRoute) |
|
void |
setCanAddCall(boolean canAddCall) |
Set the value that
canAddCall() method should return. |
protected void |
setMuted(boolean muted) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearBroadcastIntents, clearNextStartedActivities, clearStartedServices, denyPermissions, denyPermissions, getBroadcastIntents, getBroadcastIntentsForUser, getBroadcastOptions, getNextStartedActivity, getNextStartedActivityForResult, getNextStartedService, getNextStoppedService, grantPermissions, grantPermissions, peekNextStartedActivity, peekNextStartedActivityForResult, peekNextStartedService, removeSystemServicegetLastForegroundNotification, getLastForegroundNotificationId, getNotificationShouldRemoved, getStopSelfId, getStopSelfResultId, isForegroundStopped, isLastForegroundNotificationAttached, isStoppedBySelf, onDestroy, startForeground, stopForeground, stopForeground, stopSelf, stopSelf, stopSelfResult@Implementation protected void __constructor__()
public void addCall(Call call)
@Implementation protected boolean canAddCall()
public void setCanAddCall(boolean canAddCall)
canAddCall() method should return.@Implementation protected void setMuted(boolean muted)
@Implementation protected void setAudioRoute(int audioRoute)
@Implementation protected CallAudioState getCallAudioState()
@Implementation(minSdk=28) protected void requestBluetoothAudio(BluetoothDevice bluetoothDevice)
public BluetoothDevice getBluetoothAudio()
requestBluetoothAudio().