public interface AdjacencyPairService
| 修飾子とタイプ | メソッドと説明 |
|---|---|
AdjacencyPair[] |
search(String category,
String language,
String firstTurn,
String matchingMethod)
Gets a list of responses corresponding to the specified utterance.
|
AdjacencyPair[] search(String category, String language, String firstTurn, String matchingMethod) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, NoValidEndpointsException, LanguageNotUniquelyDecidedException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguageException, UnsupportedMatchingMethodException
category - Category. an empty string when omittedlanguage - Language of utterance (RFC3066 compliant.)firstTurn - Utterance(required)matchingMethod - Search method (MatchingMethod enumerated value)AccessLimitExceededException - Violated an access restrictionInvalidParameterException - language, firstPart or searchMethod is null or else an empty string.language does not comply with RFC3066. String not provided for by searchMethodNoAccessPermissionException - The user executing the call lacks execution privilegesNoValidEndpointsException - There is no valid endpointLanguageNotUniquelyDecidedException - A supported language candidate could not be singly determined (Ex: when the language is specified as zh, the case where zh-Hans and zh-Hant exist as supported languages)ProcessFailedException - Response search failed due to some causeServerBusyException - The server is loaded and cannot process it.ServiceNotActiveException - The service is not activeServiceNotFoundException - The specified service was not foundUnsupportedLanguageException - The specified language is not supportedUnsupportedMatchingMethodException - The specified matching method is not supportedCopyright © 2019. All rights reserved.