001package com.aispeech.dui.dds.agent.tts; 002 003public interface TTSRequestListener { 004 /** 005 * 请求TTS的方法 006 * <p> 007 * 播放完毕后,需要调用notifyTtsEnd接口才能自动进入下一轮识别 008 * 009 * @param type TTS类型,text ,ssml ,audio 010 * @param content TTS内容 011 */ 012 void onStart(String type, String content); 013 014 /** 015 * 停止TTS的方法 016 */ 017 void onStop(); 018}