NeighboringCellInfo.NetworkType Property
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 virtual int NetworkType { [Android.Runtime.Register("getNetworkType", "()I", "GetGetNetworkTypeHandler")] get; }
[<get: Android.Runtime.Register("getNetworkType", "()I", "GetGetNetworkTypeHandler")>]
member this.NetworkType : int
Property Value
Radio network type while neighboring cell location is stored.
Return <code data-dev-comment-type="c">TelephonyManager#NETWORK_TYPE_UNKNOWN TelephonyManager.NETWORK_TYPE_UNKNOWN</code>
means that the location information is unavailable.
Return <code data-dev-comment-type="c">TelephonyManager#NETWORK_TYPE_GPRS TelephonyManager.NETWORK_TYPE_GPRS</code> or
<code data-dev-comment-type="c">TelephonyManager#NETWORK_TYPE_EDGE TelephonyManager.NETWORK_TYPE_EDGE</code>
means that Neighboring Cell information is stored for GSM network, in
which <code data-dev-comment-type="c">NeighboringCellInfo#getLac NeighboringCellInfo.getLac</code> and
<code data-dev-comment-type="c">NeighboringCellInfo#getCid NeighboringCellInfo.getCid</code> should be
called to access location.
Return <code data-dev-comment-type="c">TelephonyManager#NETWORK_TYPE_UMTS TelephonyManager.NETWORK_TYPE_UMTS</code>,
<code data-dev-comment-type="c">TelephonyManager#NETWORK_TYPE_HSDPA TelephonyManager.NETWORK_TYPE_HSDPA</code>,
<code data-dev-comment-type="c">TelephonyManager#NETWORK_TYPE_HSUPA TelephonyManager.NETWORK_TYPE_HSUPA</code>,
or <code data-dev-comment-type="c">TelephonyManager#NETWORK_TYPE_HSPA TelephonyManager.NETWORK_TYPE_HSPA</code>
means that Neighboring Cell information is stored for UMTS network, in
which <code data-dev-comment-type="c">NeighboringCellInfo#getPsc NeighboringCellInfo.getPsc</code>
should be called to access location.
- Attributes
Remarks
Java documentation for android.telephony.NeighboringCellInfo.getNetworkType()
.
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.