Compartilhar via


NetworkRegistrationInfo.RejectCause Property

Definition

Get the 3GPP/3GPP2 reason code indicating why registration failed.

public int RejectCause { [Android.Runtime.Register("getRejectCause", "()I", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getRejectCause", "()I", "", ApiSince=35)>]
member this.RejectCause : int

Property Value

registration reject cause if available, otherwise 0. Depending on #getAccessNetworkTechnology, the values are defined in 3GPP TS 24.008 10.5.3.6 for WCDMA/UMTS, 3GPP TS 24.301 9.9.3.9 for LTE/EPS, 3GPP 24.501 Annex A for NR/5GS, or 3GPP2 A.S0001 6.2.2.44 for CDMA.

Attributes

Remarks

Get the 3GPP/3GPP2 reason code indicating why registration failed.

Returns the reason code for non-transient registration failures. Typically this method will only return the last reason code received during a network selection procedure. The reason code is system-specific; however, the reason codes for both 3GPP and 3GPP2 systems are largely equivalent across generations.

Java documentation for android.telephony.NetworkRegistrationInfo.getRejectCause().

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