Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 794af6f

Browse files
Added constant for "empty speak tag" (#835)
* Added constant for Empty Speak Tag * Fix Checkstyle issues
1 parent c6a76fe commit 794af6f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
package com.microsoft.bot.schema;
5+
6+
/**
7+
* Defines constants that can be used in the processing of speech interactions.
8+
*/
9+
public final class SpeechConstants {
10+
11+
private SpeechConstants() {
12+
13+
}
14+
15+
/**
16+
* The xml tag structure to indicate an empty speak tag, to be used in the 'speak' property of an Activity.
17+
* When this is set it indicates to the channel that speech should not be generated.
18+
*/
19+
public static final String EMPTY_SPEAK_TAG =
20+
"<speak version=\"1.0\" xmlns=\"https://www.w3.org/2001/10/synthesis\" xml:lang=\"en-US\" />";
21+
}

0 commit comments

Comments
 (0)