Interface DocumentSignatureInfo
-
- All Implemented Interfaces:
public interface DocumentSignatureInfo
Contains information about signatures of a document. Can be retrieved via getDocumentSignatureInfoAsync
Note that form editing must be enabled in license for this to return data.
-
-
Method Summary
Modifier and Type Method Description abstract boolean
isSigned()
Returns true
if the document contains a signature.abstract ValidationStatus
isValid()
Validates signatures in the document and returns an overall status. abstract List<String>
getSigners()
Returns a list of names of all signers in the document. abstract Calendar
getLatestSignatureCreationDate()
Returns latest signing date of all signatures in the document. abstract List<SignatureFormField>
getSignatureFormFields()
Returns all signature fields in this document. abstract void
removeSignatureFormField(@NonNull() SignatureFormField signatureFormField)
Removes the signature form field from document. -
-
Method Detail
-
isSigned
abstract boolean isSigned()
Returns
true
if the document contains a signature. It WILL NOT check the signature for validity.
-
isValid
@NonNull()@WorkerThread() abstract ValidationStatus isValid()
Validates signatures in the document and returns an overall status. If any of the signatures fails to validate, this will fail as well. This may take awhile so it shouldn't be called from main thread.
-
getSigners
@NonNull() abstract List<String> getSigners()
Returns a list of names of all signers in the document.
- Returns:
list of signer names in signature fields.
-
getLatestSignatureCreationDate
@Nullable() abstract Calendar getLatestSignatureCreationDate()
Returns latest signing date of all signatures in the document.
- Returns:
latest signing date or
null
if such data doesn't exist.
-
getSignatureFormFields
@NonNull() abstract List<SignatureFormField> getSignatureFormFields()
Returns all signature fields in this document.
- Returns:
list of signature fields.
-
removeSignatureFormField
abstract void removeSignatureFormField(@NonNull() SignatureFormField signatureFormField)
Removes the signature form field from document.
- Parameters:
signatureFormField
- The SignatureFormField to remove.
-
-
-
-