Back to project page BTSerialConsole.
The source code is released under:
MIT License
If you think the Android project BTSerialConsole listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.neykov.bluetoothserialconsole.connection.enums; // w ww .j av a 2 s. c o m import android.os.Parcel; import android.os.Parcelable; //Enumerate Flowcontrol constant public enum EFlowControl implements Parcelable { OFF, RTSCTS, RFRCTS, // not yet implemented DTRDSR, // not yet implemented XONXOFF;// not yet implemented; @Override public int describeContents() { return 0; } @Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeInt(ordinal()); } public static final Creator<EFlowControl> CREATOR = new Creator<EFlowControl>() { @Override public EFlowControl createFromParcel(final Parcel source) { return EFlowControl.values()[source.readInt()]; } @Override public EFlowControl[] newArray(final int size) { return new EFlowControl[size]; } }; }