类 WakeupInterceptor
- java.lang.Object
-
- com.aispeech.export.interceptor.AbstractCostInterceptor
-
- com.aispeech.export.interceptor.WakeupInterceptor
-
- 所有已实现的接口:
IInterceptor
public abstract class WakeupInterceptor extends AbstractCostInterceptor
唤醒消息拦截器
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.aispeech.export.interceptor.IInterceptor
IInterceptor.FlowType, IInterceptor.Layer, IInterceptor.Name
-
-
构造器概要
构造器 构造器 说明 WakeupInterceptor()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 abstract java.lang.String
customIntercept(java.lang.String layer, java.lang.String flowType, org.json.JSONObject custom, java.lang.String wakeupResult)
自定义拦截处理逻辑java.lang.String
getName()
org.json.JSONObject
handleIntercept(java.lang.String layer, java.lang.String flowType, org.json.JSONObject custom)
自定义拦截处理逻辑-
从类继承的方法 com.aispeech.export.interceptor.AbstractCostInterceptor
getInputObj, intercept
-
-
-
-
方法详细资料
-
getName
public java.lang.String getName()
-
handleIntercept
public org.json.JSONObject handleIntercept(java.lang.String layer, java.lang.String flowType, org.json.JSONObject custom)
从类复制的说明:AbstractCostInterceptor
自定义拦截处理逻辑- 指定者:
handleIntercept
在类中AbstractCostInterceptor
- 参数:
layer
- sdk 层级,如:IInterceptor.Layer
flowType
- 边界流向类型,取值:IInterceptor.FlowType
custom
- 自定义参数- 返回:
- JSONObject inputObj
-
customIntercept
public abstract java.lang.String customIntercept(java.lang.String layer, java.lang.String flowType, org.json.JSONObject custom, java.lang.String wakeupResult)
自定义拦截处理逻辑- 参数:
layer
- sdk 层级,如:IInterceptor.Layer
flowType
- 边界流向类型,取值:IInterceptor.FlowType
custom
- 自定义参数- 返回:
- String 返回需要修改的唤醒结果
-
-