FileDocCategorySizeDatePackage
NetworkUpdateResult.javaAPI DocAndroid 5.1 API1724Thu Mar 12 22:22:52 GMT 2015com.android.server.wifi

NetworkUpdateResult

public class NetworkUpdateResult extends Object

Fields Summary
int
netId
boolean
ipChanged
boolean
proxyChanged
boolean
isNewNetwork
Constructors Summary
public NetworkUpdateResult(int id)


       
        netId = id;
        ipChanged = false;
        proxyChanged = false;
    
public NetworkUpdateResult(boolean ip, boolean proxy)

        netId = INVALID_NETWORK_ID;
        ipChanged = ip;
        proxyChanged = proxy;
    
Methods Summary
public intgetNetworkId()

        return netId;
    
public booleanhasIpChanged()

        return ipChanged;
    
public booleanhasProxyChanged()

        return proxyChanged;
    
public booleanisNewNetwork()

        return isNewNetwork;
    
public voidsetIpChanged(boolean ip)

        ipChanged = ip;
    
public voidsetIsNewNetwork(boolean isNew)

        isNewNetwork = isNew;
    
public voidsetNetworkId(int id)

        netId = id;
    
public voidsetProxyChanged(boolean proxy)

        proxyChanged = proxy;