Created
April 25, 2018 14:31
-
-
Save rakawestu/ce3b808dc1d1ce74b333b5755753c714 to your computer and use it in GitHub Desktop.
Prism Core SDK Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ConversationHistoryExample { | |
PrismCore.getInstance().getConversationHistory( | |
CONVERSATION_ID, | |
ACCESS_TOKEN, | |
object : Callback<ConversationHistoryResponse> { | |
override fun onSuccess(response: ConversationHistoryResponse) { | |
// Handle success obtain conversation history | |
} | |
override fun onFailure(error: PrismCoreException) { | |
// Handle failure obtain conversation history | |
} | |
} | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment