lejos.remote.ev3.MenuRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lejos-ev3-api Show documentation
Show all versions of lejos-ev3-api Show documentation
leJOS (pronounced like the Spanish word "lejos" for "far") is a tiny Java Virtual Machine. In 2013 it was ported to the LEGO EV3 brick.
The newest version!
package lejos.remote.ev3;
import java.io.Serializable;
public class MenuRequest implements Serializable {
private static final long serialVersionUID = -7409357683572161291L;
public enum Request {
RUN_PROGRAM,
RUN_SAMPLE,
DEBUG_PROGRAM,
DELETE_FILE,
GET_FILE_SIZE,
GET_PROGRAM_NAMES,
GET_SAMPLE_NAMES,
UPLOAD_FILE,
FETCH_FILE,
GET_SETTING,
SET_SETTING,
DELETE_ALL_PROGRAMS,
GET_VERSION,
GET_MENU_VERSION,
GET_NAME,
SET_NAME,
STOP_PROGRAM,
GET_EXECUTING_PROGRAM_NAME,
SHUT_DOWN,
SUSPEND,
RESUME
}
public Request request;
public String name, value;
public boolean replyRequired = false;
public byte[] contents;
}