Class SignatureUiData
-
- All Implemented Interfaces:
public class SignatureUiData
UI data for the newly drawn signature. Used by onSignatureUiDataCollected to collect the signature UI data such as point sequences, input method, pressure, time and radius of each touch.
-
-
Field Summary
Fields Modifier and Type Field Description public final List<List<PointF>>
pointSequences
public final List<Float>
pressureList
public final List<Long>
timePoints
public final List<Float>
touchRadii
public final BiometricSignatureData.InputMethod
inputMethod
-
Method Summary
Modifier and Type Method Description List<List<PointF>>
getPointSequences()
Point sequences that are in this draw view. List<Float>
getPressureList()
A list of floating point values. List<Long>
getTimePoints()
A list of time intervals. List<Float>
getTouchRadii()
A list of floating point values. BiometricSignatureData.InputMethod
getInputMethod()
The device that was used to create the signature. -
-
Method Detail
-
getPointSequences
@NonNull() List<List<PointF>> getPointSequences()
Point sequences that are in this draw view.
- Returns:
A list of points creating the drawing lines. Note: the values are in PDF points, use toViewPoint to convert this point to the view coordinates.
-
getPressureList
@NonNull() List<Float> getPressureList()
A list of floating point values. Representing the intensity of each touch. Includes the same number of objects as `timePoints` and `touchRadii`. Predictive touches are not tracked.
- Returns:
A list of touch intensities.
-
getTimePoints
@NonNull() List<Long> getTimePoints()
A list of time intervals. Representing the timestamp of each touch. Includes the same number of objects as `pressureList` and `touchRadii`. Predictive touches are not tracked.
- Returns:
List of time intervals.
-
getTouchRadii
@NonNull() List<Float> getTouchRadii()
A list of floating point values. Representing the radius of each touch. Includes the same number of objects as `pressureList` and `timePoints`. Predictive touches are not tracked.
- Returns:
A list of touch radii.
-
getInputMethod
@Nullable() BiometricSignatureData.InputMethod getInputMethod()
The device that was used to create the signature.
- Returns:
Input method used to create the signature.
-
-
-
-