Class SignatureFormField
-
- All Implemented Interfaces:
public class SignatureFormField extends FormField
Represents a signature field in a form. This is usually used to place a signature onto a page using an InkAnnotation or it holds a digital signature which can be retrieved using getSignatureInfo.
-
-
Method Summary
Modifier and Type Method Description List<out SignatureFormElement>
getFormElements()
Retrieve list of form elements that represents this field visually. DigitalSignatureInfo
getSignatureInfo()
Returns the digital signing information attached to this form element. void
removeSignature()
Removes the digital signing information attached to this form field. Completable
removeSignatureAsync()
Asynchronously removes the digital signing information attached to this form field. -
-
Method Detail
-
getFormElements
@NonNull() List<out SignatureFormElement> getFormElements()
Retrieve list of form elements that represents this field visually. Each FormElement can be part of a single field and each field can contain multiple form elements.
- Returns:
List of child form elements.
-
getSignatureInfo
@NonNull() DigitalSignatureInfo getSignatureInfo()
Returns the digital signing information attached to this form element. If this element has no signature, isSigned of the returned signing information will be
false
.- Returns:
DigitalSignatureInfo of this form field.
-
removeSignature
void removeSignature()
Removes the digital signing information attached to this form field. If this element has no signature this is a no-op.
-
removeSignatureAsync
Completable removeSignatureAsync()
Asynchronously removes the digital signing information attached to this form field.
- Returns:
A completable completing once the signature was removed.
-
-
-
-