Condividi tramite


AvailableNetworkInfo.Bands Property

Definition

Returns the frequency bands that need to be scanned by opportunistic network service

        The returned value is defined in either of <code data-dev-comment-type="c">AccessNetworkConstants.GeranBand</code>,
        <code data-dev-comment-type="c">AccessNetworkConstants.UtranBand</code> and <code data-dev-comment-type="c">AccessNetworkConstants.EutranBand</code>
        See <code data-dev-comment-type="c">AccessNetworkConstants.AccessNetworkType</code> for details regarding different network
        types.
public System.Collections.Generic.IList<Java.Lang.Integer> Bands { [Android.Runtime.Register("getBands", "()Ljava/util/List;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getBands", "()Ljava/util/List;", "", ApiSince=29)>]
member this.Bands : System.Collections.Generic.IList<Java.Lang.Integer>

Property Value

Attributes

Remarks

Returns the frequency bands that need to be scanned by opportunistic network service

The returned value is defined in either of AccessNetworkConstants.GeranBand, AccessNetworkConstants.UtranBand and AccessNetworkConstants.EutranBand See AccessNetworkConstants.AccessNetworkType for details regarding different network types. When no specific bands are specified (empty array or null) CBRS band AccessNetworkConstants.EutranBand#BAND_48 will be used for network scan.

Java documentation for android.telephony.AvailableNetworkInfo.getBands().

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