// Auto-generated. Do not edit.


    declare const 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 const 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 const 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 const 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 namespace devices {
}

// Auto-generated. Do not edit. Really.
