public interface ESignLiveListener
onCreate(...)
method of the activity.
This way you make sure to receive events even when the activity gets recreated (for example: when device orientation changes).Modifier and Type | Method and Description |
---|---|
void |
didCompleteTransactionSigningSession(String transactionId,
String transactionName)
The method is called, once the transaction signing is completed by all signers.
|
void |
didDeclineTransaction(String transactionID,
String transactionName,
String reason)
Get called when a signer decides to decline signing of documents.
|
void |
didDeleteTransaction(String transactionId,
boolean permanently)
The method get called if the transaction was deleted locally.
|
void |
didExitSDK()
Gets called when the SDK finishes and the control is handed over again to the application.
|
void |
didOptOutOfTransaction(String transactionID,
String transactionName,
String reason)
Get called when a signer decides to opt out of a signing session.
|
void |
didSendTransactionForSigning(String transactionID,
String transactionName)
Gets called when a transaction is sent for signing.
|
void |
didUpdateLocalTransaction(Transaction transaction)
The method get called if the transaction was updated locally.
|
void |
didUpdateTransactionIdentifier(String oldId,
String newId)
The method is called, once the transaction is created on the server.
|
void |
loginNeeded()
Gets called in case of login with session token, and if the session token expires,
or if the SDK can't refresh the sesion token because the user password was updated after the last login.
|
void |
transactionStartedSuccessfully(String transactionId)
Gets called when a transaction starts successfully.
|
void |
transactionStartFailed(String transactionId,
Error error)
Gets called when starting a transaction fails.
|
void didExitSDK()
void didSendTransactionForSigning(String transactionID, String transactionName)
transactionID
- Unique identifier of the transaction being sent.transactionName
- Name of the transaction being sent.void didCompleteTransactionSigningSession(String transactionId, String transactionName)
transactionId
- the id of the transaction, taht was signedtransactionName
- Name of the transaction.void didOptOutOfTransaction(String transactionID, String transactionName, @Nullable String reason)
transactionID
- Unique identifier of the transaction.transactionName
- Name of the transaction.reason
- The reason of opting out provided by signer of the transaction.void didDeclineTransaction(String transactionID, String transactionName, @Nullable String reason)
transactionName
- Name of the transaction.reason
- The decline reason provided by signer of the transaction.void didUpdateTransactionIdentifier(String oldId, String newId)
oldId
- - the previous, temporary local id, assigned on the transaction locallynewId
- - the id from the server, provided at the time the transaction was created on the server.void didUpdateLocalTransaction(Transaction transaction)
transaction
- - the transaction information object, containing the updated type - Draft, Completed etc.void didDeleteTransaction(String transactionId, boolean permanently)
transactionId
- - the id of the transaction that was deleted locally.permanently
- - if false means the transaction is in the trash folder. If true - the transaction can not be restored.void transactionStartedSuccessfully(String transactionId)
transactionId
- Unique identifier of the started transaction.void transactionStartFailed(String transactionId, @Nullable Error error)
transactionId
- Unique identifier of the transaction.error
- The error occurred while trying to start the transaction.void loginNeeded()