Aracılığıyla paylaş


ServiceState.CdmaNetworkId Property

Definition

Get the CDMA NID (Network Identification Number), a number uniquely identifying a network within a wireless system.

public virtual int CdmaNetworkId { [Android.Runtime.Register("getCdmaNetworkId", "()I", "GetGetCdmaNetworkIdHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getCdmaNetworkId", "()I", "GetGetCdmaNetworkIdHandler", ApiSince=28)>]
member this.CdmaNetworkId : int

Property Value

The CDMA NID or #UNKNOWN_ID if not available.

Attributes

Remarks

Get the CDMA NID (Network Identification Number), a number uniquely identifying a network within a wireless system. (Defined in 3GPP2 C.S0023 3.4.8)

Require at least android.Manifest.permission#ACCESS_FINE_LOCATION or android.Manifest.permission#ACCESS_COARSE_LOCATION. Otherwise return #UNKNOWN_ID.

Java documentation for android.telephony.ServiceState.getCdmaNetworkId().

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