Package org.robolectric.shadows
Class ShadowCallScreeningService
java.lang.Object
org.robolectric.shadows.ShadowCallScreeningService
@Implements(value=android.telecom.CallScreeningService.class,
minSdk=24)
public final class ShadowCallScreeningService
extends Object
Shadow for
CallScreeningService.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the parameters used to callCallScreeningService.respondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIfCallScreeningServicehas calledrespondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse), returns the values of its parameters.protected voidrespondToCall(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
IfCallScreeningServicehas calledrespondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse), returns the values of its parameters. Returns an empty optional otherwise.
-