// Auto-generated. Do not edit. declare enum MesCameraEvent { //% block="take photo" TakePhoto = 3, // MES_CAMERA_EVT_TAKE_PHOTO //% block="start video capture" StartVideoCapture = 4, // MES_CAMERA_EVT_START_VIDEO_CAPTURE //% block="stop video capture" StopVideoCapture = 5, // MES_CAMERA_EVT_STOP_VIDEO_CAPTURE //% block="toggle front-rear" ToggleFrontRear = 8, // MES_CAMERA_EVT_TOGGLE_FRONT_REAR //% block="launch photo mode" LaunchPhotoMode = 1, // MES_CAMERA_EVT_LAUNCH_PHOTO_MODE //% block="launch video mode" LaunchVideoMode = 2, // MES_CAMERA_EVT_LAUNCH_VIDEO_MODE //% block="stop photo mode" StopPhotoMode = 6, // MES_CAMERA_EVT_STOP_PHOTO_MODE //% block="stop video mode" StopVideoMode = 7, // MES_CAMERA_EVT_STOP_VIDEO_MODE } declare enum MesAlertEvent { //% block="display toast" DisplayToast = 1, // MES_ALERT_EVT_DISPLAY_TOAST //% block="vibrate" Vibrate = 2, // MES_ALERT_EVT_VIBRATE //% block="play sound" PlaySound = 3, // MES_ALERT_EVT_PLAY_SOUND //% block="play ring tone" PlayRingtone = 4, // MES_ALERT_EVT_PLAY_RINGTONE //% block="find my phone" FindMyPhone = 5, // MES_ALERT_EVT_FIND_MY_PHONE //% block="ring alarm" RingAlarm = 6, // MES_ALERT_EVT_ALARM1 //% block="ring alarm 2" RingAlarm2 = 7, // MES_ALERT_EVT_ALARM2 //% block="ring alarm 3" RingAlarm3 = 8, // MES_ALERT_EVT_ALARM3 //% block="ring alarm 4" RingAlarm4 = 9, // MES_ALERT_EVT_ALARM4 //% block="ring alarm 5" RingAlarm5 = 10, // MES_ALERT_EVT_ALARM5 //% block="ring alarm 6" RingAlarm6 = 11, // MES_ALERT_EVT_ALARM6 } declare enum MesDeviceInfo { //% block="incoming call" IncomingCall = 7, // MES_DEVICE_INCOMING_CALL //% block="incoming message" IncomingMessage = 8, // MES_DEVICE_INCOMING_MESSAGE //% block="orientation landscape" OrientationLandscape = 1, // MES_DEVICE_ORIENTATION_LANDSCAPE //% block="orientation portrait" OrientationPortrait = 2, // MES_DEVICE_ORIENTATION_PORTRAIT //% block="shaken" Shaken = 4, // MES_DEVICE_GESTURE_DEVICE_SHAKEN //% block="display off" DisplayOff = 5, // MES_DEVICE_DISPLAY_OFF //% block="display on" DisplayOn = 6, // MES_DEVICE_DISPLAY_ON } declare enum MesRemoteControlEvent { //% block="play" play = 1, // MES_REMOTE_CONTROL_EVT_PLAY //% block="pause" pause = 2, // MES_REMOTE_CONTROL_EVT_PAUSE //% block="stop" stop = 3, // MES_REMOTE_CONTROL_EVT_STOP //% block="next track" nextTrack = 4, // MES_REMOTE_CONTROL_EVT_NEXTTRACK //% block="previous track" previousTrack = 5, // MES_REMOTE_CONTROL_EVT_PREVTRACK //% block="forward" forward = 6, // MES_REMOTE_CONTROL_EVT_FORWARD //% block="rewind" rewind = 7, // MES_REMOTE_CONTROL_EVT_REWIND //% block="volume up" volumeUp = 8, // MES_REMOTE_CONTROL_EVT_VOLUMEUP //% block="volume down" volumeDown = 9, // MES_REMOTE_CONTROL_EVT_VOLUMEDOWN } declare enum MesDpadButtonInfo { //% block="A down" ADown = 1, // MES_DPAD_BUTTON_A_DOWN //% block="A up" AUp = 2, // MES_DPAD_BUTTON_A_UP //% block="B down" BDown = 3, // MES_DPAD_BUTTON_B_DOWN //% block="B up" BUp = 4, // MES_DPAD_BUTTON_B_UP //% block="C down" CDown = 5, // MES_DPAD_BUTTON_C_DOWN //% block="C up" CUp = 6, // MES_DPAD_BUTTON_C_UP //% block="D down" DDown = 7, // MES_DPAD_BUTTON_D_DOWN //% block="D up" DUp = 8, // MES_DPAD_BUTTON_D_UP //% block="1 down" _1Down = 9, // MES_DPAD_BUTTON_1_DOWN //% block="1 up" _1Up = 10, // MES_DPAD_BUTTON_1_UP //% block="2 down" _2Down = 11, // MES_DPAD_BUTTON_2_DOWN //% block="2 up" _2Up = 12, // MES_DPAD_BUTTON_2_UP //% block="3 down" _3Down = 13, // MES_DPAD_BUTTON_3_DOWN //% block="3 up" _3Up = 14, // MES_DPAD_BUTTON_3_UP //% block="4 down" _4Down = 15, // MES_DPAD_BUTTON_4_DOWN //% block="4 up" _4Up = 16, // MES_DPAD_BUTTON_4_UP } declare namespace devices { } // Auto-generated. Do not edit. Really.