Language

WifiNetworkSuggestion.Builder.SetIsUserInteractionRequired(Boolean) Method

Definition

Specifies whether the user needs to log in to a captive portal to obtain Internet access.

[Android.Runtime.Register("setIsUserInteractionRequired", "(Z)Landroid/net/wifi/WifiNetworkSuggestion$Builder;", "", ApiSince=29)]
public Android.Net.Wifi.WifiNetworkSuggestion.Builder SetIsUserInteractionRequired(bool isUserInteractionRequired);
[<Android.Runtime.Register("setIsUserInteractionRequired", "(Z)Landroid/net/wifi/WifiNetworkSuggestion$Builder;", "", ApiSince=29)>]
member this.SetIsUserInteractionRequired : bool -> Android.Net.Wifi.WifiNetworkSuggestion.Builder

Parameters

isUserInteractionRequired
Boolean

true to indicate that user interaction is required, false otherwise.

Returns

Instance of Builder to enable chaining of the builder method. This value cannot be null.

Attributes

Remarks

Specifies whether the user needs to log in to a captive portal to obtain Internet access.

If not set, defaults to false (i.e no user interaction required).

Android reference for android.net.wifi.WifiNetworkSuggestion.Builder.setIsUserInteractionRequired.

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