public class ScanerLedLight
extends java.lang.Object
| Constructor and Description |
|---|
ScanerLedLight() |
| Modifier and Type | Method and Description |
|---|---|
void |
blink(Context context)
亮0.5S后熄灭
light up for 0.5s then OFF |
void |
closeAuxiliaryLight(Context context)
关闭扫描辅助灯,目前只支持C70系列
Switch on scanning light, support C70 series only |
void |
free()
释放设备资源
release device source |
static ScanerLedLight |
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()
打开LED灯
Switch on LED light |
void |
openAuxiliaryLight(Context context)
打开扫描辅助灯,目前只支持C70系列
Switch on scanning light, support C70 series only |
public static ScanerLedLight getInstance()
public void init()
public void free()
public void On()
public void off(Context context)
public void blink(Context context)
public void openAuxiliaryLight(Context context)
public void closeAuxiliaryLight(Context context)
public boolean isPowerOn()