NeighboringCellInfo.NetworkType 属性

定义

public virtual int NetworkType { [Android.Runtime.Register("getNetworkType", "()I", "GetGetNetworkTypeHandler")] get; }
[<get: Android.Runtime.Register("getNetworkType", "()I", "GetGetNetworkTypeHandler")>]
member this.NetworkType : int

属性值

存储相邻单元格位置时的无线电网络类型。

        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.
属性

注解

适用于 . 的 android.telephony.NeighboringCellInfo.getNetworkType()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于