DJI_WidgetControl.h 1.2 KB
/**
 ********************************************************************
 * @file   DJI_WidgetControl.h
 *         DJI_WidgetControl的头文件
 *
 *********************************************************************
 */

/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef JZSDK_DJIWIDGETCONTROL_H
#define JZSDK_DJIWIDGETCONTROL_H

/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
typedef enum
{
    // 控件类
    DJI_WIDGET_LASTSONG = 0x0, // 大疆控件上一曲
    DJI_WIDGET_NEXTSONG = 0x1,     //大疆控件下一曲
    DJI_WIDGET_PLAYANDSTOP = 0x2,     //大疆控件播放暂停

}DJI_widget_control;
/* Exported types ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/
int DJI_WidgetControlInit();
int DJI_WidgetControl_InputTask(int task_inscode, int value);



#ifdef __cplusplus
}
#endif

#endif