初始化框架,完成扫描回调,语音接口
This commit is contained in:
31
app/src/main/java/chaoran/business/strategy/Strategy.java
Normal file
31
app/src/main/java/chaoran/business/strategy/Strategy.java
Normal file
@ -0,0 +1,31 @@
|
||||
package chaoran.business.strategy;
|
||||
|
||||
/*
|
||||
**********************************************
|
||||
* DATE PERSON REASON
|
||||
* 2021-02-01 FXY Created
|
||||
**********************************************
|
||||
*/
|
||||
|
||||
import chaoran.business.activity.ResultListener;
|
||||
|
||||
/**
|
||||
* 策略接口
|
||||
* 普通jar包调用时,此接口没用
|
||||
* 此包仅用于调用硬件相关驱动
|
||||
*/
|
||||
public interface Strategy {
|
||||
|
||||
/**
|
||||
* 执行策略
|
||||
*
|
||||
* @param resultListener
|
||||
*/
|
||||
public void executeStrategy(ResultListener resultListener);
|
||||
|
||||
/**
|
||||
* 排除策略
|
||||
*/
|
||||
public void exclusiveStrategy();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user