共用方式為


WifiManager.GetAllowedChannels(WifiBand, WifiAvailableChannelModes) Method

Definition

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

Parameters

band
WifiBand

Returns

Attributes

Applies to