Package org.robolectric.shadows
Class ShadowCallScreeningService
java.lang.Object
org.robolectric.shadows.ShadowCallScreeningService
@Implements(android.telecom.CallScreeningService.class)
public final class ShadowCallScreeningService
extends Object
Shadow for
CallScreeningService
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Contains the parameters used to callCallScreeningService.respondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse)
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIfCallScreeningService
has calledrespondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse)
, returns the values of its parameters.protected void
respondToCall
(Call.Details callDetails, CallScreeningService.CallResponse response)
-
Constructor Details
-
ShadowCallScreeningService
public ShadowCallScreeningService()
-
-
Method Details
-
respondToCall
@Implementation(minSdk=24) protected void respondToCall(Call.Details callDetails, CallScreeningService.CallResponse response) -
getLastRespondToCallInput
IfCallScreeningService
has calledrespondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse)
, returns the values of its parameters. Returns an empty optional otherwise.
-