public class DisconnectCause extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ANSWERED_ELSEWHERE
The call was terminated because it was answered on another device.
|
static int |
BUSY
Outgoing call to busy line
|
static int |
CALL_BARRED
Call was blocked by call barring
|
static int |
CALL_PULLED
The call was terminated because it was pulled to another device.
|
static int |
CDMA_ACCESS_BLOCKED
Access Blocked by CDMA network
|
static int |
CDMA_ACCESS_FAILURE
Unable to obtain access to the CDMA system
|
static int |
CDMA_ALREADY_ACTIVATED
The call was terminated because CDMA phone service and roaming have already been activated.
|
static int |
CDMA_CALL_LOST
This status indicates that InCallScreen should display the
CDMA-specific "call lost" dialog.
|
static int |
CDMA_DROP
Drop call
|
static int |
CDMA_INTERCEPT
INTERCEPT order received, MS state idle entered
|
static int |
CDMA_LOCKED_UNTIL_POWER_CYCLE
MS is locked until next power cycle
|
static int |
CDMA_NOT_EMERGENCY
Not an emergency call
|
static int |
CDMA_PREEMPTED
Not a preempted call
|
static int |
CDMA_REORDER
MS has been redirected, call is cancelled
|
static int |
CDMA_RETRY_ORDER
Requested service is rejected, retry delay is set
|
static int |
CDMA_SO_REJECT
Service option rejection
|
static int |
CONGESTION
Outgoing call to congested network
|
static int |
CS_RESTRICTED
Call was blocked by restricted all voice access
|
static int |
CS_RESTRICTED_EMERGENCY
Call was blocked by restricted emergency voice access
|
static int |
CS_RESTRICTED_NORMAL
Call was blocked by restricted normal voice access
|
static int |
DATA_DISABLED
The call was terminated because cellular data has been disabled.
|
static int |
DATA_LIMIT_REACHED
The call was terminated because the data policy has disabled cellular data.
|
static int |
DIAL_MODIFIED_TO_DIAL
Stk Call Control modified DIAL request to DIAL with modified data.
|
static int |
DIAL_MODIFIED_TO_SS
Stk Call Control modified DIAL request to SS request.
|
static int |
DIAL_MODIFIED_TO_USSD
Stk Call Control modified DIAL request to USSD request.
|
static int |
DIALED_MMI
Our initial phone number was actually an MMI sequence.
|
static int |
DIALED_ON_WRONG_SLOT
The emergency call was terminated because it was dialed on the wrong SIM slot.
|
static int |
EMERGENCY_ONLY
Only emergency numbers are allowed, but we tried to dial
a non-emergency number.
|
static int |
ERROR_UNSPECIFIED
Unknown error or not specified
|
static int |
EXITED_ECM
This status indicates that the call was placed successfully,
but additionally, the InCallScreen needs to display the
"Exiting ECM" dialog.
|
static int |
FDN_BLOCKED
Call was blocked by fixed dial number
|
static int |
ICC_ERROR
No ICC, ICC locked, or other ICC error
|
static int |
IMS_MERGED_SUCCESSFULLY
The call, which was an IMS call, disconnected because it merged with another call.
|
static int |
INCOMING_MISSED
An incoming call that was missed and never answered
|
static int |
INCOMING_REJECTED
An incoming call that was rejected
|
static int |
INVALID_CREDENTIALS
Invalid credentials
|
static int |
INVALID_NUMBER
Invalid dial string
|
static int |
LIMIT_EXCEEDED
GSM or CDMA ACM limit exceeded
|
static int |
LOCAL
Normal; Local hangup
|
static int |
LOST_SIGNAL
Client went out of network range
|
static int |
MAXIMUM_NUMBER_OF_CALLS_REACHED
The call was terminated because the maximum allowable number of calls has been reached.
|
static int |
MAXIMUM_VALID_VALUE
Largest valid value for call disconnect codes.
|
static int |
MINIMUM_VALID_VALUE
Smallest valid value for call disconnect codes.
|
static int |
MMI
Not presently used
|
static int |
NO_PHONE_NUMBER_SUPPLIED
The supplied CALL Intent didn't contain a valid phone number.
|
static int |
NORMAL
Normal; Remote hangup
|
static int |
NOT_DISCONNECTED
Has not yet disconnected
|
static int |
NOT_VALID
The disconnect cause is not valid (Not received a disconnect cause)
|
static int |
NUMBER_UNREACHABLE
Cannot reach the peer
|
static int |
OUT_OF_NETWORK
Calling from out of network is not allowed
|
static int |
OUT_OF_SERVICE
Out of service
|
static int |
OUTGOING_CANCELED
The outgoing call was canceled by the
ConnectionService . |
static int |
OUTGOING_FAILURE
The outgoing call failed with an unknown cause.
|
static int |
POWER_OFF
Radio is turned off explicitly
|
static int |
SERVER_ERROR
Server error
|
static int |
SERVER_UNREACHABLE
Cannot reach the server
|
static int |
TIMED_OUT
Client timed out
|
static int |
UNOBTAINABLE_NUMBER
Unassigned number
|
static int |
VIDEO_CALL_NOT_ALLOWED_WHILE_TTY_ENABLED
The call was terminated because it is not possible to place a video call while TTY is
enabled.
|
static int |
VOICEMAIL_NUMBER_MISSING
We tried to call a voicemail: URI but the device has no
voicemail number configured.
|
Modifier and Type | Method and Description |
---|---|
static String |
toString(int cause)
Returns descriptive string for the specified disconnect cause.
|
public static final int NOT_VALID
public static final int NOT_DISCONNECTED
public static final int INCOMING_MISSED
public static final int NORMAL
public static final int LOCAL
public static final int BUSY
public static final int CONGESTION
public static final int MMI
public static final int INVALID_NUMBER
public static final int NUMBER_UNREACHABLE
public static final int SERVER_UNREACHABLE
public static final int INVALID_CREDENTIALS
public static final int OUT_OF_NETWORK
public static final int SERVER_ERROR
public static final int TIMED_OUT
public static final int LOST_SIGNAL
public static final int LIMIT_EXCEEDED
public static final int INCOMING_REJECTED
public static final int POWER_OFF
public static final int OUT_OF_SERVICE
public static final int ICC_ERROR
public static final int CALL_BARRED
public static final int FDN_BLOCKED
public static final int CS_RESTRICTED
public static final int CS_RESTRICTED_NORMAL
public static final int CS_RESTRICTED_EMERGENCY
public static final int UNOBTAINABLE_NUMBER
public static final int CDMA_LOCKED_UNTIL_POWER_CYCLE
public static final int CDMA_DROP
public static final int CDMA_INTERCEPT
public static final int CDMA_REORDER
public static final int CDMA_SO_REJECT
public static final int CDMA_RETRY_ORDER
public static final int CDMA_ACCESS_FAILURE
public static final int CDMA_PREEMPTED
public static final int CDMA_NOT_EMERGENCY
public static final int CDMA_ACCESS_BLOCKED
public static final int ERROR_UNSPECIFIED
public static final int EMERGENCY_ONLY
public static final int NO_PHONE_NUMBER_SUPPLIED
public static final int DIALED_MMI
public static final int VOICEMAIL_NUMBER_MISSING
public static final int CDMA_CALL_LOST
public static final int EXITED_ECM
public static final int OUTGOING_FAILURE
public static final int OUTGOING_CANCELED
ConnectionService
.public static final int IMS_MERGED_SUCCESSFULLY
public static final int DIAL_MODIFIED_TO_USSD
public static final int DIAL_MODIFIED_TO_SS
public static final int DIAL_MODIFIED_TO_DIAL
public static final int CDMA_ALREADY_ACTIVATED
public static final int VIDEO_CALL_NOT_ALLOWED_WHILE_TTY_ENABLED
public static final int CALL_PULLED
public static final int ANSWERED_ELSEWHERE
public static final int MAXIMUM_NUMBER_OF_CALLS_REACHED
public static final int DATA_DISABLED
public static final int DATA_LIMIT_REACHED
public static final int DIALED_ON_WRONG_SLOT
public static final int MINIMUM_VALID_VALUE
public static final int MAXIMUM_VALID_VALUE
public static String toString(int cause)