共用方式為


WifiManager.NetworkSuggestions Property

Definition

Get all network suggestions provided by the calling app.

public virtual System.Collections.Generic.IList<Android.Net.Wifi.WifiNetworkSuggestion> NetworkSuggestions { [Android.Runtime.Register("getNetworkSuggestions", "()Ljava/util/List;", "GetGetNetworkSuggestionsHandler", ApiSince=30)] [Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")] get; }
[<get: Android.Runtime.Register("getNetworkSuggestions", "()Ljava/util/List;", "GetGetNetworkSuggestionsHandler", ApiSince=30)>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
member this.NetworkSuggestions : System.Collections.Generic.IList<Android.Net.Wifi.WifiNetworkSuggestion>

Property Value

a list of WifiNetworkSuggestion

Attributes

Remarks

Get all network suggestions provided by the calling app. See #addNetworkSuggestions(List) See #removeNetworkSuggestions(List)

Java documentation for android.net.wifi.WifiManager.getNetworkSuggestions().

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