Class ShadowInCallService
java.lang.Object
org.robolectric.shadows.ShadowContextWrapper
org.robolectric.shadows.ShadowService
org.robolectric.shadows.ShadowInCallService
Shadow for
InCallService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidDeprecated.voidaddCall(ParcelableCall parcelableCall) protected booleanprotected CallAudioStatevoidonConnectionEvent(String callId, String event, Bundle extras) Exposes.invalid reference
IIInCallService.Stub#onConnectionEventvoidremoveCall(Call call) Deprecated.Please remove calls by invokingCall.disconnect().protected voidrequestBluetoothAudio(BluetoothDevice bluetoothDevice) protected voidsetAudioRoute(int audioRoute) voidsetCanAddCall(boolean canAddCall) Set the value thatcanAddCall()method should return.protected voidsetMuted(boolean muted) voidsetPostDialWait(String callId, String remaining) Exposes.invalid reference
IIInCallService.Stub#setPostDialWaitvoidsetSupportedRouteMask(int mask) Methods inherited from class ShadowService
getForegroundServiceType, getLastForegroundNotification, getLastForegroundNotificationId, getNotificationShouldRemoved, getStopSelfId, getStopSelfResultId, isForegroundStopped, isLastForegroundNotificationAttached, isStoppedBySelf, onDestroy, setThrowInStartForeground, startForeground, startForeground, stopForeground, stopForeground, stopSelf, stopSelf, stopSelfResultMethods inherited from class ShadowContextWrapper
clearBroadcastIntents, clearNextStartedActivities, clearStartedServices, denyPermissions, denyPermissions, denyPermissions, getAllStartedServices, getBroadcastIntents, getBroadcastIntentsForUser, getBroadcastOptions, getNextStartedActivity, getNextStartedActivityForResult, getNextStartedService, getNextStoppedService, grantPermissions, grantPermissions, grantPermissions, peekNextStartedActivity, peekNextStartedActivityForResult, peekNextStartedService, removeSystemService
-
Constructor Details
-
ShadowInCallService
public ShadowInCallService()
-
-
Method Details
-
__constructor__
-
addCall
Deprecated.Please add calls by adding a Call usingInCallService.InCallServiceBinder. -
addCall
-
setPostDialWait
-
onConnectionEvent
-
removeCall
Deprecated.Please remove calls by invokingCall.disconnect(). -
canAddCall
-
setCanAddCall
public void setCanAddCall(boolean canAddCall) Set the value thatcanAddCall()method should return. -
setMuted
-
setAudioRoute
-
getCallAudioState
-
setSupportedRouteMask
public void setSupportedRouteMask(int mask) -
requestBluetoothAudio
-
getBluetoothAudio
- Returns:
- the last value provided to
requestBluetoothAudio().
-
InCallService.InCallServiceBinder.