Class BiometricSignatureData
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class BiometricSignatureData implements Parcelable
Biometric data of a Signature. Biometric data contains timing, pressure sensitivity, and general input information that was collected while writing the signature. The biometric data can be written to a PDF document while digitally signing using DigitalSignatureMetadata and SigningManager.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
BiometricSignatureData.InputMethod
Types of input devices that for creating a signature.
public class
BiometricSignatureData.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<Float>
pressurePoints
private final List<Long>
timePoints
private final Float
touchRadius
private final BiometricSignatureData.InputMethod
inputMethod
public final static BiometricSignatureData.Companion
Companion
-
Constructor Summary
Constructors Constructor Description BiometricSignatureData(List<Float> pressurePoints, List<Long> timePoints, Float touchRadius, BiometricSignatureData.InputMethod inputMethod)
-
Method Summary
Modifier and Type Method Description final List<Float>
getPressurePoints()
Returns pressure points that were collected during signature creation. final List<Long>
getTimePoints()
Returns time points that were registered during signature creation. final Float
getTouchRadius()
Returns touch radius of the input device. final BiometricSignatureData.InputMethod
getInputMethod()
Returns input method that was used to create the signature. -
-
Method Detail
-
getPressurePoints
final List<Float> getPressurePoints()
Returns pressure points that were collected during signature creation. The returned list is immutable. May be
null
if no pressure points were collected. The unit and range of values is defined by the input type and may vary. Usually, this will be a value between0f
(no pressure) and1f
(full pressure) as provided by the MotionEvent.getPressure property.
-
getTimePoints
final List<Long> getTimePoints()
Returns time points that were registered during signature creation. Time points are milliseconds since the start of drawing the signature (the first time point will be
0
). The time points MUST BE NORMALIZED TO FIRST POINT=0 BEFORE SETTING. See normalizeTimePoints. May benull
if no time points were collected.
-
getTouchRadius
final Float getTouchRadius()
Returns touch radius of the input device. The radius is a float value in the interval 0, 1 and represents the "thickness" of the input device or
null
if the radius is not known.
-
getInputMethod
final BiometricSignatureData.InputMethod getInputMethod()
Returns input method that was used to create the signature. May be
null
if the input method is unknown.
-
-
-
-