Skip to content

Commit c1a85c2

Browse files
committed
updated ACTIONS with language switch
1 parent 15194ce commit c1a85c2

File tree

1 file changed

+1
-2
lines changed
  • src/main/java/net/b07z/sepia/server/core/assistant

1 file changed

+1
-2
lines changed

src/main/java/net/b07z/sepia/server/core/assistant/ACTIONS.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ public class ACTIONS {
3232
final public static String OPEN_LIST = "open_list"; //tell client to open a user specific list, param.: "listInfo" : {"indexType":...}
3333
final public static String EXTEND_REQUEST = "extend_request"; //tell client that this request will take longer and he should prepare for that
3434
final public static String SHOW_ABORT_OPTION = "show_abort"; //tell client to show an abort option
35-
//deprecated: final public static String SKIP_TTS = "skip_tts"; //tell client to prevent TTS sound output (best used together with PLAY_AUDIO)
3635
final public static String PLAY_AUDIO_URL = "play_audio_url"; //tell client to play a single audio file from url, parameters: audio_url
3736
final public static String PLAY_AUDIO_STREAM = "play_audio_stream"; //tell client to play a continuous audio stream, parameters: audio_url, audio_title, audio_img, audio_type
3837
final public static String STOP_AUDIO_STREAM = "stop_audio_stream"; //tell client to stop the running audio stream
@@ -42,11 +41,11 @@ public class ACTIONS {
4241
final public static String ALARM = "alarm"; //tell client to set an alarm, parameters: tbd
4342
final public static String REMINDER = "reminder"; //tell client to set an reminder, parameters: tbd
4443
final public static String APPOINTMENT = "appointment"; //tell client to set an appointment in the calendar, parameters: tbd
44+
final public static String SWITCH_LANGUAGE = "switch_language"; //tell client to switch language, parameters: language_code
4545

4646
//possible next actions:
4747
//public static String STREAMING_REQUEST = "streaming_request"; //tell the client that he has to expect an answer that gets streamed
4848
//public static String GET_HTML_META_INFO = "get_html_meta_info"; //tell client to open an url, get meta info when the page is loaded and say it, parameters: meta_tags, add_answer
49-
//public static String EXECUTE_CMD = "execute_cmd"; //tell client to execute an command, parameters: command
5049

5150
//ACTION OPTIONS
5251
final public static String SKIP_TTS = "skipTTS";

0 commit comments

Comments
 (0)