/**@class android.net.CaptivePortal
 implements android.os.Parcelable

@extends java.lang.Object

 A class allowing apps handling the {@link android.net.ConnectivityManager#ACTION_CAPTIVE_PORTAL_SIGN_IN}
 activity to indicate to the system different outcomes of captive portal sign in.  This class is
 passed as an extra named {@link android.net.ConnectivityManager#EXTRA_CAPTIVE_PORTAL} with the
 {@code ACTION_CAPTIVE_PORTAL_SIGN_IN} activity.
*/
var CaptivePortal = {

/** Response code from the captive portal application, indicating that the portal was dismissed
 and the network should be re-validated.
 @see ICaptivePortal#appResponse(int)
 @see android.net.INetworkMonitor#notifyCaptivePortalAppFinished(int)
 @hide
*/
APP_RETURN_DISMISSED : "0",
/** Response code from the captive portal application, indicating that the user did not login and
 does not want to use the captive portal network.
 @see ICaptivePortal#appResponse(int)
 @see android.net.INetworkMonitor#notifyCaptivePortalAppFinished(int)
 @hide
*/
APP_RETURN_UNWANTED : "1",
/** Response code from the captive portal application, indicating that the user does not wish to
 login but wants to use the captive portal network as-is.
 @see ICaptivePortal#appResponse(int)
 @see android.net.INetworkMonitor#notifyCaptivePortalAppFinished(int)
 @hide
*/
APP_RETURN_WANTED_AS_IS : "2",
/***/
CREATOR : "null",
/**
*/
describeContents : function(  ) {},

/**
*/
writeToParcel : function(  ) {},

/**Indicate to the system that the captive portal has been
 dismissed.  In response the framework will re-evaluate the network's
 connectivity and might take further action thereafter.
*/
reportCaptivePortalDismissed : function(  ) {},

/**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.
*/
ignoreNetwork : function(  ) {},

/**Indicate to the system the user wants to use this network as is, even though
 the captive portal is still in place.  The system will treat the network
 as if it did not have a captive portal when selecting the network to use
 as the default active data network. This may result in this network
 becoming the default active data network, which could disrupt network
 connectivity for apps because the captive portal is still in place.
@hide 
*/
useNetwork : function(  ) {},

/**Log a captive portal login event.
@param {Number} eventId one of the CAPTIVE_PORTAL_LOGIN_* constants in metrics_constants.proto.
@param {String} packageName captive portal application package name.
@hide 
*/
logEvent : function(  ) {},


};