3434 * the search results. If that is not available, then the corresponding url for that result in
3535 * {@link #EXTRA_VOICE_SEARCH_RESULT_URLS} should be used. And if even that is not available,
3636 * then a search url should be constructed from the actual recognition result string.
37- *
38- * @hide for making public in a later release
3937 */
4038public class RecognizerResultsIntent {
4139 private RecognizerResultsIntent () {
@@ -58,17 +56,13 @@ private RecognizerResultsIntent() {
5856 * and, possibly, the full html to display for that result at index N of
5957 * {@link #EXTRA_VOICE_SEARCH_RESULT_HTML}. If full html is provided, a base url (or
6058 * list of base urls) should be provided with {@link #EXTRA_VOICE_SEARCH_RESULT_HTML_BASE_URLS}.
61- *
62- * @hide for making public in a later release
6359 */
6460 public static final String ACTION_VOICE_SEARCH_RESULTS =
6561 "android.speech.action.VOICE_SEARCH_RESULTS" ;
6662
6763 /**
6864 * The key to an extra {@link ArrayList} of {@link String}s that contains the list of
6965 * recognition alternates from voice search, in order from highest to lowest confidence.
70- *
71- * @hide for making public in a later release
7266 */
7367 public static final String EXTRA_VOICE_SEARCH_RESULT_STRINGS =
7468 "android.speech.extras.VOICE_SEARCH_RESULT_STRINGS" ;
@@ -81,8 +75,6 @@ private RecognizerResultsIntent() {
8175 * search url, that entry in this ArrayList should be <code>null</code>, and the implementor of
8276 * {@link #ACTION_VOICE_SEARCH_RESULTS} should execute a search of its own choosing,
8377 * based on the recognition result string.
84- *
85- * @hide for making public in a later release
8678 */
8779 public static final String EXTRA_VOICE_SEARCH_RESULT_URLS =
8880 "android.speech.extras.VOICE_SEARCH_RESULT_URLS" ;
@@ -102,8 +94,6 @@ private RecognizerResultsIntent() {
10294 * uri or some other identifier. Anyone who reads this extra should confirm that a result is
10395 * in fact an "inline:" uri and back off to the urls or strings gracefully if it is not, thus
10496 * maintaining future backwards compatibility if this changes.
105- *
106- * @hide not to be exposed immediately as the implementation details may change
10797 */
10898 public static final String EXTRA_VOICE_SEARCH_RESULT_HTML =
10999 "android.speech.extras.VOICE_SEARCH_RESULT_HTML" ;
@@ -116,8 +106,6 @@ private RecognizerResultsIntent() {
116106 * A list of the same size as {@link #EXTRA_VOICE_SEARCH_RESULT_STRINGS} may be provided
117107 * to apply different base urls to each different html result in the
118108 * {@link #EXTRA_VOICE_SEARCH_RESULT_HTML} list.
119- *
120- * @hide not to be exposed immediately as the implementation details may change
121109 */
122110 public static final String EXTRA_VOICE_SEARCH_RESULT_HTML_BASE_URLS =
123111 "android.speech.extras.VOICE_SEARCH_RESULT_HTML_BASE_URLS" ;
@@ -132,16 +120,14 @@ private RecognizerResultsIntent() {
132120 * apply different HTTP headers to each different web result in the list. These headers will
133121 * only be used in the case that the url for a particular web result (from
134122 * {@link #EXTRA_VOICE_SEARCH_RESULT_URLS}) is loaded.
135- *
136- * @hide not to be exposed immediately as the implementation details may change
137123 */
138124 public static final String EXTRA_VOICE_SEARCH_RESULT_HTTP_HEADERS =
139125 "android.speech.extras.EXTRA_VOICE_SEARCH_RESULT_HTTP_HEADERS" ;
140126
141127 /**
142128 * The scheme used currently for html content in {@link #EXTRA_VOICE_SEARCH_RESULT_HTML}.
143- *
144- * @hide not to be exposed immediately as the implementation details may change
129+ * Note that this should only be used in tandem with this particular extra; it should
130+ * NOT be used for generic URIs such as those found in the data field of an Intent.
145131 */
146132 public static final String URI_SCHEME_INLINE = "inline" ;
147133}
0 commit comments