CallScreeningService.RespondToCall Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.