다음을 통해 공유


CallRedirectionService.CancelCall Method

Definition

The implemented CallRedirectionService calls this method to response a request received via #onPlaceCall(Uri, PhoneAccountHandle, boolean) to inform Telecom that an outgoing call should be canceled entirely.

[Android.Runtime.Register("cancelCall", "()V", "", ApiSince=29)]
public void CancelCall ();
[<Android.Runtime.Register("cancelCall", "()V", "", ApiSince=29)>]
member this.CancelCall : unit -> unit
Attributes

Remarks

The implemented CallRedirectionService calls this method to response a request received via #onPlaceCall(Uri, PhoneAccountHandle, boolean) to inform Telecom that an outgoing call should be canceled entirely.

This can only be called from implemented #onPlaceCall(Uri, PhoneAccountHandle, boolean). The response corresponds to the latest request via #onPlaceCall(Uri, PhoneAccountHandle, boolean).

Java documentation for android.telecom.CallRedirectionService.cancelCall().

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