RadioAccessSpecifier.GetBands Method

Definition

Returns the frequency bands that need to be scanned.

[Android.Runtime.Register("getBands", "()[I", "", ApiSince=28)]
public int[]? GetBands ();
[<Android.Runtime.Register("getBands", "()[I", "", ApiSince=28)>]
member this.GetBands : unit -> int[]

Returns

Int32[]
Attributes

Remarks

Returns the frequency bands that need to be scanned.

The returned value is defined in either of AccessNetworkConstants.GeranBand, AccessNetworkConstants.UtranBand, AccessNetworkConstants.EutranBand, and AccessNetworkConstants.NgranBands, and it depends on the returned value of #getRadioAccessNetwork().

Java documentation for android.telephony.RadioAccessSpecifier.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