Partager via


ConnectionService.OnHandoverFailed Method

Definition

Called by Telecom in response to a TelecomManager#acceptHandover() invocation which failed.

[Android.Runtime.Register("onHandoverFailed", "(Landroid/telecom/ConnectionRequest;I)V", "GetOnHandoverFailed_Landroid_telecom_ConnectionRequest_IHandler", ApiSince=28)]
public virtual void OnHandoverFailed (Android.Telecom.ConnectionRequest? request, Android.Telecom.HandoverFailureReason error);
[<Android.Runtime.Register("onHandoverFailed", "(Landroid/telecom/ConnectionRequest;I)V", "GetOnHandoverFailed_Landroid_telecom_ConnectionRequest_IHandler", ApiSince=28)>]
abstract member OnHandoverFailed : Android.Telecom.ConnectionRequest * Android.Telecom.HandoverFailureReason -> unit
override this.OnHandoverFailed : Android.Telecom.ConnectionRequest * Android.Telecom.HandoverFailureReason -> unit

Parameters

request
ConnectionRequest

Details about the call which failed to handover.

error
HandoverFailureReason

Reason for handover failure. Will be one of the

Attributes

Remarks

Called by Telecom in response to a TelecomManager#acceptHandover() invocation which failed.

For a full discussion of the handover process and the APIs involved, see android.telecom.Call#handoverTo(PhoneAccountHandle, int, Bundle)

Java documentation for android.telecom.ConnectionService.onHandoverFailed(android.telecom.ConnectionRequest, int).

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