public abstract class TTSInterceptor extends AbstractCostInterceptor
IInterceptor.FlowType, IInterceptor.Layer, IInterceptor.Name
Constructor and Description |
---|
TTSInterceptor() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
customIntercept(java.lang.String layer,
java.lang.String flowType,
org.json.JSONObject custom,
java.lang.String ttsResult)
自定义拦截处理逻辑
|
org.json.JSONObject |
handleIntercept(java.lang.String layer,
java.lang.String flowType,
org.json.JSONObject custom)
自定义拦截处理逻辑
|
getInputObj, intercept
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public org.json.JSONObject handleIntercept(java.lang.String layer, java.lang.String flowType, org.json.JSONObject custom)
AbstractCostInterceptor
handleIntercept
in class AbstractCostInterceptor
layer
- sdk 层级,如:Layer
flowType
- 边界流向类型,取值:FlowType
custom
- 自定义参数public abstract java.lang.String customIntercept(java.lang.String layer, java.lang.String flowType, org.json.JSONObject custom, java.lang.String ttsResult)
layer
- sdk 层级,如:Layer
flowType
- 边界流向类型,取值:FlowType
custom
- 自定义参数