-
public class SendChoice.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final StringTITLE_PARAMETERprivate final StringURL_PARAMETERprivate final StringIMAGE_PARAMETERprivate final StringEXIT_INTENTprivate final StringPHONE_CALL_INTENTprivate final StringLOGIN_INTENTprivate final StringLOGOUT_INTENTprivate final StringSTEP_PARAMETERprivate final StringPREVIOUS_INTENT_PARAMETERprivate final StringNLPprivate final StringSOURCE_APP_IDprivate final StringREFERRAL_PARAMETERpublic final static SendChoice.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final StringencodeNlpChoiceId(String text)Encodes a choice id where text will be analysed by NLP engine. final StringencodeChoiceId(Bus<?> bus, IntentAware intent, StoryStep<out StoryHandlerDefinition> step, Map<String, String> parameters)Encodes a choice id. final StringencodeChoiceId(Bus<?> bus, IntentAware intent, String step, Map<String, String> parameters)Encodes a choice id. final StringencodeChoiceId(IntentAware intent, StoryStep<out StoryHandlerDefinition> step, Map<String, String> parameters, StoryStep<out StoryHandlerDefinition> busStep, Intent currentIntent, String sourceAppId)Encodes a choice id. final StringencodeChoiceId(IntentAware intent, String step, Map<String, String> parameters, String busStep, Intent currentIntent, String sourceAppId)Encodes a choice id. final Pair<String, Map<String, String>>decodeChoiceId(String id)Decodes an id - returns the intentName and the parameters map. final ActiondecodeChoice(String id, PlayerId senderId, String applicationId, PlayerId recipientId, String referralParameter)Decodes an id and returns an action. final StringgetTITLE_PARAMETER()final StringgetURL_PARAMETER()final StringgetIMAGE_PARAMETER()final StringgetEXIT_INTENT()final StringgetPHONE_CALL_INTENT()final StringgetLOGIN_INTENT()final StringgetLOGOUT_INTENT()final StringgetSTEP_PARAMETER()final StringgetPREVIOUS_INTENT_PARAMETER()final StringgetNLP()final StringgetSOURCE_APP_ID()final StringgetREFERRAL_PARAMETER()-
-
Method Detail
-
encodeNlpChoiceId
final String encodeNlpChoiceId(String text)
Encodes a choice id where text will be analysed by NLP engine.
-
encodeChoiceId
final String encodeChoiceId(Bus<?> bus, IntentAware intent, StoryStep<out StoryHandlerDefinition> step, Map<String, String> parameters)
Encodes a choice id.
-
encodeChoiceId
final String encodeChoiceId(Bus<?> bus, IntentAware intent, String step, Map<String, String> parameters)
Encodes a choice id.
-
encodeChoiceId
final String encodeChoiceId(IntentAware intent, StoryStep<out StoryHandlerDefinition> step, Map<String, String> parameters, StoryStep<out StoryHandlerDefinition> busStep, Intent currentIntent, String sourceAppId)
Encodes a choice id.
-
encodeChoiceId
final String encodeChoiceId(IntentAware intent, String step, Map<String, String> parameters, String busStep, Intent currentIntent, String sourceAppId)
Encodes a choice id.
-
decodeChoiceId
final Pair<String, Map<String, String>> decodeChoiceId(String id)
Decodes an id - returns the intentName and the parameters map.
-
decodeChoice
final Action decodeChoice(String id, PlayerId senderId, String applicationId, PlayerId recipientId, String referralParameter)
Decodes an id and returns an action.
-
getTITLE_PARAMETER
final String getTITLE_PARAMETER()
-
getURL_PARAMETER
final String getURL_PARAMETER()
-
getIMAGE_PARAMETER
final String getIMAGE_PARAMETER()
-
getEXIT_INTENT
final String getEXIT_INTENT()
-
getPHONE_CALL_INTENT
final String getPHONE_CALL_INTENT()
-
getLOGIN_INTENT
final String getLOGIN_INTENT()
-
getLOGOUT_INTENT
final String getLOGOUT_INTENT()
-
getSTEP_PARAMETER
final String getSTEP_PARAMETER()
-
getPREVIOUS_INTENT_PARAMETER
final String getPREVIOUS_INTENT_PARAMETER()
-
getSOURCE_APP_ID
final String getSOURCE_APP_ID()
-
getREFERRAL_PARAMETER
final String getREFERRAL_PARAMETER()
-
-
-
-