public interface OtrEngineHost
void injectMessage(SessionID sessionID, String msg) throws OtrException
OtrExceptionvoid unreadableMessageReceived(SessionID sessionID) throws OtrException
OtrExceptionvoid unencryptedMessageReceived(SessionID sessionID, String msg) throws OtrException
OtrExceptionvoid showError(SessionID sessionID, String error) throws OtrException
OtrExceptionvoid smpError(SessionID sessionID, int tlvType, boolean cheated) throws OtrException
OtrExceptionvoid smpAborted(SessionID sessionID) throws OtrException
OtrExceptionvoid finishedSessionMessage(SessionID sessionID, String msgText) throws OtrException
OtrExceptionvoid requireEncryptedMessage(SessionID sessionID, String msgText) throws OtrException
OtrExceptionFragmenterInstructions getFragmenterInstructions(SessionID sessionID)
sessionID - the session ID of the sessionKeyPair getLocalKeyPair(SessionID sessionID) throws OtrException
OtrExceptionbyte[] getLocalFingerprintRaw(SessionID sessionID)
void askForSecret(SessionID sessionID, InstanceTag receiverTag, String question)
void messageFromAnotherInstanceReceived(SessionID sessionID)
void multipleInstancesDetected(SessionID sessionID)
Copyright © 2015. All rights reserved.