HandoverFailureReason Enum
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.
public enum HandoverFailureReason
type HandoverFailureReason =
- Inheritance
-
HandoverFailureReason
Fields
| Name | Value | Description |
|---|---|---|
| DestAppRejected | 1 | Handover failure reason returned via onHandoverFailed(Call,int) when the app to handover the call to rejects the handover request. Will be returned when Call.handoverTo(PhoneAccountHandle,int,Bundle) is called and the destination PhoneAccountHandle's ConnectionService returns a null Connection from ConnectionService.onCreateOutgoingHandoverConnection(PhoneAccountHandle,ConnectionRequest). For more information on call handovers, see handoverTo(PhoneAccountHandle,int,Bundle). Android reference for 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. |
| NotSupported | 2 | Handover failure reason returned via onHandoverFailed(Call,int) when a handover is initiated but the source or destination app does not support handover. Will be returned when a handover is requested via handoverTo(PhoneAccountHandle,int,Bundle) and the destination PhoneAccountHandle does not declare PhoneAccount.EXTRA_SUPPORTS_HANDOVER_TO. May also be returned when a handover is requested at the PhoneAccountHandle for the current call (i.e. the source call's Details.getAccountHandle()) does not declare PhoneAccount.EXTRA_SUPPORTS_HANDOVER_FROM. For more information on call handovers, see handoverTo(PhoneAccountHandle,int,Bundle). Android reference for 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. |
| UserRejected | 3 | Handover failure reason returned via onHandoverFailed(Call,int) when the remote user rejects the handover request. For more information on call handovers, see handoverTo(PhoneAccountHandle,int,Bundle). Android reference for 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. |
| OngoingEmergencyCall | 4 | Handover failure reason returned via onHandoverFailed(Call,int) when there is ongoing emergency call. This error code is returned when handoverTo(PhoneAccountHandle,int,Bundle) is called on an emergency call, or if any other call is an emergency call. Handovers are not permitted while there are ongoing emergency calls. For more information on call handovers, see handoverTo(PhoneAccountHandle,int,Bundle). Android reference for 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. |
| Unknown | 5 | Handover failure reason returned via onHandoverFailed(Call,int) when a handover fails for an unknown reason. For more information on call handovers, see handoverTo(PhoneAccountHandle,int,Bundle). Android reference for 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. |