SlangUIDelegate

Modifier and Type Method and Description Locale getCurrentLocale()

Returns the current locale chosen by the user or the application Locale getDefaultLocale()

Returns the default locale request by the application Collection<SlangHelpItem> getHelpItems()

Returns a collection of all help items associated with this application Collection<SlangHelpItem> getHelpItems(Set<String> intentFilter)

Returns a collectin of help items filtered by the given set of intent names Set<Locale> getLocales()

Returns the set of locales requested by the application void notifyUserCanceled()

Notifies the Slang platform that the user canceled the current session void notifyUserChangedLocale(Locale newLocale)

Notifies the Slang platform that the user changed the locale void notifyUserPressedBackButton()

Notifies the Slang platform that the user pressed the back button void notifyUserStartedSession()

Notifies the Slang platform that the user wants to start a conversation void requestIntentRecognition(String text)

Requests the Slang platform intent resolution on the given text

Last updated