FileDocCategorySizeDatePackage
WpsResult.javaAPI DocAndroid 5.1 API2427Thu Mar 12 22:22:44 GMT 2015android.net.wifi

WpsResult

public class WpsResult extends Object implements android.os.Parcelable
A class representing the result of a WPS request
hide

Fields Summary
public Status
status
public String
pin
public static final Creator
CREATOR
Implement the Parcelable interface {@hide}
Constructors Summary
public WpsResult()

        status = Status.FAILURE;
        pin = null;
    
public WpsResult(Status s)

        status = s;
        pin = null;
    
public WpsResult(WpsResult source)
copy constructor {@hide}

        if (source != null) {
            status = source.status;
            pin = source.pin;
        }
    
Methods Summary
public intdescribeContents()
Implement the Parcelable interface {@hide}

        return 0;
    
public java.lang.StringtoString()

        StringBuffer sbuf = new StringBuffer();
        sbuf.append(" status: ").append(status.toString());
        sbuf.append('\n");
        sbuf.append(" pin: ").append(pin);
        sbuf.append("\n");
        return sbuf.toString();
    
public voidwriteToParcel(android.os.Parcel dest, int flags)
Implement the Parcelable interface {@hide}

        dest.writeString(status.name());
        dest.writeString(pin);