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

StateChangeResult

public class StateChangeResult extends Object
Stores supplicant state change information passed from WifiMonitor to a state machine. WifiStateMachine, SupplicantStateTracker and WpsStateMachine are example state machines that handle it.
hide

Fields Summary
int
networkId
android.net.wifi.WifiSsid
wifiSsid
String
BSSID
android.net.wifi.SupplicantState
state
Constructors Summary
StateChangeResult(int networkId, android.net.wifi.WifiSsid wifiSsid, String BSSID, android.net.wifi.SupplicantState state)

        this.state = state;
        this.wifiSsid= wifiSsid;
        this.BSSID = BSSID;
        this.networkId = networkId;
    
Methods Summary
public java.lang.StringtoString()

        StringBuffer sb = new StringBuffer();

        sb.append(" SSID: ").append(wifiSsid.toString());
        sb.append(" BSSID: ").append(BSSID);
        sb.append(" nid: ").append(networkId);
        sb.append(" state: ").append(state);
        return sb.toString();