java.lang.Object | |
↳ | com.pspdfkit.signatures.BiometricSignatureData.Builder |
Builder for BiometricSignatureData
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BiometricSignatureData |
build()
Creates a new immutable
BiometricSignatureData . | ||||||||||
BiometricSignatureData.Builder |
setInputMethod(BiometricSignatureData.InputMethod inputMethod)
Sets the input method that was used to create the signature.
| ||||||||||
BiometricSignatureData.Builder |
setPressurePoints(List<Float> pressurePoints)
Set a list of pressure points that were collected during signature creation.
| ||||||||||
BiometricSignatureData.Builder |
setTimePoints(List<Long> timePoints)
Sets time points that were collected during signature creation.
| ||||||||||
BiometricSignatureData.Builder |
setTouchRadius(Float touchRadius)
Sets the touch radius of the input device.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new immutable BiometricSignatureData
.
BiometricSignatureData
with the values configured by this builder.
Sets the input method that was used to create the signature. May be null
if the input method is
unknown.
inputMethod | BiometricSignatureData.InputMethod value or null if input method is unknown. |
---|
Builder
for call chaining.
Set a list of pressure points that were collected during signature creation. May be null
if no
pressure information was collected. The unit and range of values is defined by the input type and may vary.
Usually, this will be a value between 0f
(no pressure) and 1f
(full pressure) as provided by
the getPressure()
property.
pressurePoints | List of pressure points. |
---|
Builder
for call chaining.
Sets time points that were collected during signature creation. May be null
if no timing values were
collected. Time points are milliseconds since the start of drawing the signature. Any time points set will be
normalized, so that the first time point will be `0` afterwards.
timePoints | List of timing values or null if no values were collected. |
---|
Builder
for call chaining.
Sets the touch radius of the input device. The actual value is defined by the input type and may vary. For
example, the SignaturePickerDialog will provide the average tool size that was registered while
creating the signature (as returned by getSize()
).
touchRadius | Touch radius of the input device or null if touch radius is unknown. |
---|
Builder
for call chaining.