共用方式為


WifiSsidPolicy(Int32, ICollection<WifiSsid>) Constructor

Definition

Create the Wi-Fi SSID Policy.

[Android.Runtime.Register(".ctor", "(ILjava/util/Set;)V", "", ApiSince=33)]
public WifiSsidPolicy (int policyType, System.Collections.Generic.ICollection<Android.Net.Wifi.WifiSsid> ssids);
[<Android.Runtime.Register(".ctor", "(ILjava/util/Set;)V", "", ApiSince=33)>]
new Android.App.Admin.WifiSsidPolicy : int * System.Collections.Generic.ICollection<Android.Net.Wifi.WifiSsid> -> Android.App.Admin.WifiSsidPolicy

Parameters

policyType
Int32

indicate whether the policy is an allowlist or a denylist

ssids
ICollection<WifiSsid>

set of WifiSsid

Attributes

Remarks

Create the Wi-Fi SSID Policy.

Java documentation for android.app.admin.WifiSsidPolicy.WifiSsidPolicy(int, java.util.Set<android.net.wifi.WifiSsid>).

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