SoftApConfiguration.Channels 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.
Returns SparseIntArray (key: BandType
, value: channel) that consists of
the configured bands and channels for the AP(s).
public Android.Util.SparseIntArray Channels { [Android.Runtime.Register("getChannels", "()Landroid/util/SparseIntArray;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getChannels", "()Landroid/util/SparseIntArray;", "", ApiSince=36)>]
member this.Channels : Android.Util.SparseIntArray
Property Value
- Attributes
Remarks
Returns SparseIntArray (key: BandType
, value: channel) that consists of the configured bands and channels for the AP(s).
The returned channel value is Wi-Fi channel numbering. Reference the Wi-Fi channel numbering and the channelization in IEEE 802.11-2016 specifications, section 17.3.8.4.2, 17.3.8.4.3 and Table 15-6.
Note: return array may only include one channel when current setting is single AP mode. See also Builder#setChannels(SparseIntArray)
.
Java documentation for android.net.wifi.SoftApConfiguration.getChannels()
.
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.