Aracılığıyla paylaş


DisconnectCause Class

Definition

Describes the cause of a disconnected call.

[Android.Runtime.Register("android/telephony/DisconnectCause", ApiSince=31, DoNotGenerateAcw=true)]
public sealed class DisconnectCause : Java.Lang.Object
[<Android.Runtime.Register("android/telephony/DisconnectCause", ApiSince=31, DoNotGenerateAcw=true)>]
type DisconnectCause = class
    inherit Object
Inheritance
DisconnectCause
Attributes

Remarks

Describes the cause of a disconnected call. Those disconnect causes can be converted into a more generic android.telecom.DisconnectCause object.

Used in PhoneStateListener#onCallDisconnectCauseChanged.

Java documentation for android.telephony.DisconnectCause.

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.

Fields

AlreadyDialing
Obsolete.

Indicates that a new outgoing call cannot be placed because there is already an outgoing call dialing out.

AnsweredElsewhere
Obsolete.

The call was terminated because it was answered on another device.

Busy
Obsolete.

Outgoing call to busy line

CallBarred
Obsolete.

Call was blocked by call barring

CallingDisabled
Obsolete.

Indicates that a new outgoing call cannot be placed because calling has been disabled using the ro.

CallPulled
Obsolete.

The call was terminated because it was pulled to another device.

CantCallWhileRinging
Obsolete.

Indicates that a new outgoing call cannot be placed while there is a ringing call.

CdmaAccessBlocked
Obsolete.

Access Blocked by CDMA network

CdmaAccessFailure
Obsolete.

Unable to obtain access to the CDMA system

CdmaAlreadyActivated
Obsolete.

The call was terminated because CDMA phone service and roaming have already been activated.

CdmaDrop
Obsolete.

Drop call

CdmaIntercept
Obsolete.

INTERCEPT order received, MS state idle entered

CdmaLockedUntilPowerCycle
Obsolete.

MS is locked until next power cycle

CdmaNotEmergency
Obsolete.

Not an emergency call

CdmaPreempted
Obsolete.

Not a preempted call

CdmaReorder
Obsolete.

MS has been redirected, call is cancelled

CdmaRetryOrder
Obsolete.

Requested service is rejected, retry delay is set

CdmaSoReject
Obsolete.

Service option rejection

Congestion
Obsolete.

Outgoing call to congested network

CsRestricted
Obsolete.

Call was blocked by restricted all voice access

CsRestrictedEmergency
Obsolete.

Call was blocked by restricted emergency voice access

CsRestrictedNormal
Obsolete.

Call was blocked by restricted normal voice access

DataDisabled
Obsolete.

The call was terminated because cellular data has been disabled.

DataLimitReached
Obsolete.

The call was terminated because the data policy has disabled cellular data.

DialedCallForwardingWhileRoaming
Obsolete.

The call being placed was detected as a call forwarding number and was being dialed while roaming on a carrier that does not allow this.

DialedMmi
Obsolete.

Our initial phone number was actually an MMI sequence.

DialLowBattery
Obsolete.

A call was not dialed because the device's battery is too low.

DialModifiedToDial
Obsolete.

Stk Call Control modified DIAL request to DIAL with modified data.

DialModifiedToDialVideo
Obsolete.

Stk Call Control modified DIAL request to video DIAL request.

DialModifiedToSs
Obsolete.

Stk Call Control modified DIAL request to SS request.

DialModifiedToUssd
Obsolete.

Stk Call Control modified DIAL request to USSD request.

DialVideoModifiedToDial
Obsolete.

Stk Call Control modified Video DIAL request to DIAL request.

DialVideoModifiedToDialVideo
Obsolete.

Stk Call Control modified Video DIAL request to Video DIAL request.

DialVideoModifiedToSs
Obsolete.

Stk Call Control modified Video DIAL request to SS request.

DialVideoModifiedToUssd
Obsolete.

Stk Call Control modified Video DIAL request to USSD request.

EmergencyCallOverWfcNotAvailable
Obsolete.

Indicates that an emergency call cannot be placed over WFC because the service is not available in the current location.

EmergencyPermFailure
Obsolete.

Emergency call failed with a permanent fail cause and should not be redialed on this slot.

EmergencyTempFailure
Obsolete.

Emergency call failed with a temporary fail cause and can be redialed on this slot.

ErrorUnspecified
Obsolete.

Unknown error or not specified

FdnBlocked
Obsolete.

Call was blocked by fixed dial number

IccError
Obsolete.

No ICC, ICC locked, or other ICC error

ImeiNotAccepted
Obsolete.

The network does not accept the emergency call request because IMEI was used as identification and this cability is not supported by the network.

ImsAccessBlocked
Obsolete.

The call has failed because of access class barring.

ImsMergedSuccessfully
Obsolete.

The call, which was an IMS call, disconnected because it merged with another call.

ImsSipAlternateEmergencyCall
Obsolete.

The network has reported that an alternative emergency number has been dialed, but the user must exit airplane mode to place the call.

IncomingAutoRejected
Obsolete.

Indicates that incoming call was rejected by the modem before the call went in ringing

IncomingMissed
Obsolete.

An incoming call that was missed and never answered

IncomingRejected
Obsolete.

An incoming call that was rejected

InvalidCredentials
Obsolete.

Invalid credentials

InvalidNumber
Obsolete.

Invalid dial string

LimitExceeded
Obsolete.

GSM or CDMA ACM limit exceeded

Local
Obsolete.

Normal; Local hangup

LostSignal
Obsolete.

Client went out of network range

LowBattery
Obsolete.

The call has ended (mid-call) because the device's battery is too low.

MaximumNumberOfCallsReached
Obsolete.

The call was terminated because the maximum allowable number of calls has been reached.

MediaTimeout
Obsolete.

Indicates that the call is dropped due to RTCP inactivity, primarily due to media path disruption.

Mmi
Obsolete.

Not presently used

NoPhoneNumberSupplied
Obsolete.

The supplied CALL Intent didn't contain a valid phone number.

Normal
Obsolete.

Normal; Remote hangup

NormalUnspecified
Obsolete.

This cause is used to report a normal event only when no other cause in the normal class applies.

NotDisconnected
Obsolete.

Has not yet disconnected

NotValid
Obsolete.

The disconnect cause is not valid (Not received a disconnect cause)

NumberUnreachable
Obsolete.

Cannot reach the peer

OtaspProvisioningInProcess
Obsolete.

Indicates that a new outgoing call cannot be placed because OTASP provisioning is currently in process.

OutgoingCanceled
Obsolete.

The outgoing call was canceled by the android.telecom.ConnectionService.

OutgoingEmergencyCallPlaced
Obsolete.

Indicates that an emergency call was placed, which caused the existing connection to be hung up.

OutgoingFailure
Obsolete.

The outgoing call failed with an unknown cause.

OutOfNetwork
Obsolete.

Calling from out of network is not allowed

OutOfService
Obsolete.

Out of service

PowerOff
Obsolete.

Radio is turned off explicitly

ServerError
Obsolete.

Server error

ServerUnreachable
Obsolete.

Cannot reach the server

TimedOut
Obsolete.

Client timed out

TooManyOngoingCalls
Obsolete.

Indicates that a new outgoing call cannot be placed because there is currently an ongoing foreground and background call.

UnobtainableNumber
Obsolete.

Unassigned number

VideoCallNotAllowedWhileTtyEnabled
Obsolete.

The call was terminated because it is not possible to place a video call while TTY is enabled.

VoicemailNumberMissing
Obsolete.

We tried to call a voicemail: URI but the device has no voicemail number configured.

WfcServiceNotAvailableInThisLocation
Obsolete.

Indicates that WiFi calling service is not available in the current location.

WifiLost
Obsolete.

A call over WIFI was disconnected because the WIFI signal was lost or became too degraded to continue the call.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to