public class ScanerLedLight_mtk extends java.lang.Object implements IScanerLedLight
| Constructor and Description | 
|---|
| ScanerLedLight_mtk() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | blink(Context context)亮0.5S后熄灭 light up for 0.5s then OFF | 
| void | blink(Context context,
     int lightTime,
     int interval)控制亮灯后自动熄灭 | 
| void | closeAuxiliaryLight(Context context)关闭扫描辅助灯,目前只支持C70系列 Switch on scanning light, support C70 series only | 
| void | free()释放设备资源 release device source | 
| static ScanerLedLight_mtk | getInstance()获取LED灯操作实例 Acquire LED light operation example | 
| void | init()初始化设备资源 initialize device source | 
| boolean | isPowerOn()判断设备是否上电 Judge the device is powered on or not. | 
| void | off(Context context)关闭LED灯 Switch off LED light | 
| void | On(Context context)打开LED灯 Switch on LED light | 
| void | openAuxiliaryLight(Context context)打开扫描辅助灯,目前只支持C70系列 Switch on scanning light, support C70 series only | 
public static ScanerLedLight_mtk getInstance()
public void init()
public void free()
public void On(Context context)
public void off(Context context)
public void blink(Context context)
public void blink(Context context,
                  int lightTime,
                  int interval)
context - lightTime - 亮度时间(不低于50ms),到达此时间之后自动熄灭,单位:毫秒interval - 间隔时间(不低于50ms),单位:毫秒public void openAuxiliaryLight(Context context)
openAuxiliaryLight in interface IScanerLedLightpublic void closeAuxiliaryLight(Context context)
closeAuxiliaryLight in interface IScanerLedLightpublic boolean isPowerOn()