Condividi tramite


CallScreeningService.RespondToCall Method

Definition

Responds to the given incoming call, either allowing it, silencing it or disallowing it.

[Android.Runtime.Register("respondToCall", "(Landroid/telecom/Call$Details;Landroid/telecom/CallScreeningService$CallResponse;)V", "", ApiSince=24)]
public void RespondToCall (Android.Telecom.Call.Details callDetails, Android.Telecom.CallScreeningService.CallResponse response);
[<Android.Runtime.Register("respondToCall", "(Landroid/telecom/Call$Details;Landroid/telecom/CallScreeningService$CallResponse;)V", "", ApiSince=24)>]
member this.RespondToCall : Android.Telecom.Call.Details * Android.Telecom.CallScreeningService.CallResponse -> unit

Parameters

callDetails
Call.Details

The call to allow. <p> Must be the same Call.Details call which was provided to the CallScreeningService via #onScreenCall(Call.Details).

response
CallScreeningService.CallResponse

The CallScreeningService.CallResponse which contains information about how to respond to a call.

Attributes

Remarks

Java documentation for android.telecom.CallScreeningService.respondToCall(android.telecom.Details, android.telecom.CallResponse).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to