public class Kik extends BasicSense
Modifier and Type | Field and Description |
---|---|
static int |
MAX_WAIT |
conversations, DAY, DEFAULT_SPEAKER, engaged, HOUR, MAX_FILE_SIZE, MINUTE, RETRY
Modifier and Type | Method and Description |
---|---|
void |
awake()
Start sensing.
|
void |
checkProfile()
Auto post to channel.
|
void |
configure(java.lang.String webhookURL) |
java.lang.String |
getApiKey() |
int |
getMessagesProcessed() |
java.lang.String |
getUsername() |
void |
initProperties()
Load settings.
|
void |
inputSentence(java.lang.String text,
java.lang.String userName,
java.lang.String targetUsername,
java.lang.String id,
Network network)
Process the text sentence.
|
void |
output(Vertex output)
Output the Kik message.
|
java.lang.String |
processMessage(java.lang.String from,
java.lang.String target,
java.lang.String message,
java.lang.String id)
Process to the message and reply synchronously.
|
void |
saveProperties() |
void |
setApiKey(java.lang.String apiKey) |
void |
setMessagesProcessed(int messagesProcessed) |
void |
setUsername(java.lang.String username) |
addListener, checkEngaged, checkSentence, discover, discoverSentence, getAction, getBot, getEmotionalState, getLanguageState, getListeners, getName, getPrimitive, getResponseListener, getShortTermMemory, initialize, input, input, isEnabled, log, log, log, migrateProperties, notifyExceptionListeners, notifyResponseListener, pool, printInput, removeListener, setAction, setBot, setEmotionalState, setIsEnabled, setLanguageState, setName, setResponseListener, shutdown, toString
public void awake()
awake
in interface Sense
awake
in class BasicSense
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getApiKey()
public void setApiKey(java.lang.String apiKey)
public void configure(java.lang.String webhookURL)
public int getMessagesProcessed()
public void setMessagesProcessed(int messagesProcessed)
public void checkProfile()
public void initProperties()
public void saveProperties()
saveProperties
in interface Sense
saveProperties
in class BasicSense
public java.lang.String processMessage(java.lang.String from, java.lang.String target, java.lang.String message, java.lang.String id)
public void inputSentence(java.lang.String text, java.lang.String userName, java.lang.String targetUsername, java.lang.String id, Network network)
public void output(Vertex output)
output
in interface Sense
output
in class BasicSense