Partager via


WifiManager.GetUsableChannels(WifiBand, WifiAvailableChannelModes) Method

Definition

[Android.Runtime.Register("getUsableChannels", "(II)Ljava/util/List;", "GetGetUsableChannels_IIHandler", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.NEARBY_WIFI_DEVICES")]
public virtual System.Collections.Generic.IList<Android.Net.Wifi.WifiAvailableChannel> GetUsableChannels (Android.Net.Wifi.WifiBand band, Android.Net.Wifi.WifiAvailableChannelModes mode);
[<Android.Runtime.Register("getUsableChannels", "(II)Ljava/util/List;", "GetGetUsableChannels_IIHandler", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.NEARBY_WIFI_DEVICES")>]
abstract member GetUsableChannels : Android.Net.Wifi.WifiBand * Android.Net.Wifi.WifiAvailableChannelModes -> System.Collections.Generic.IList<Android.Net.Wifi.WifiAvailableChannel>
override this.GetUsableChannels : Android.Net.Wifi.WifiBand * Android.Net.Wifi.WifiAvailableChannelModes -> System.Collections.Generic.IList<Android.Net.Wifi.WifiAvailableChannel>

Parameters

band
WifiBand

Returns

Attributes

Applies to