CaptivePortal.IgnoreNetwork Method

Definition

Indicate to the system that the user does not want to pursue signing in to the captive portal and the system should continue to prefer other networks without captive portals for use as the default active data network.

[Android.Runtime.Register("ignoreNetwork", "()V", "GetIgnoreNetworkHandler", ApiSince=23)]
public virtual void IgnoreNetwork ();
[<Android.Runtime.Register("ignoreNetwork", "()V", "GetIgnoreNetworkHandler", ApiSince=23)>]
abstract member IgnoreNetwork : unit -> unit
override this.IgnoreNetwork : unit -> unit
Attributes

Remarks

Indicate to the system that the user does not want to pursue signing in to the captive portal and the system should continue to prefer other networks without captive portals for use as the default active data network. The system will not retest the network for a captive portal so as to avoid disturbing the user with further sign in to network notifications.

Java documentation for android.net.CaptivePortal.ignoreNetwork().

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