public class

SignatureUiData

extends Object
java.lang.Object
   ↳ com.pspdfkit.ui.signatures.SignatureUiData

Class Overview

UI data for the newly drawn signature. Used by onSignatureUiDataCollected(Signature, SignatureUiData) to collect the signature UI data such as point sequences, input method, pressure, time and radius of each touch.

Summary

Public Constructors
SignatureUiData(List<List<PointF>> pointSequences, List<Float> pressureList, List<Long> timePoints, List<Float> touchRadii, BiometricSignatureData.InputMethod inputMethod)
Public Methods
BiometricSignatureData.InputMethod getInputMethod()
The device that was used to create the signature.
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SignatureUiData (List<List<PointF>> pointSequences, List<Float> pressureList, List<Long> timePoints, List<Float> touchRadii, BiometricSignatureData.InputMethod inputMethod)

Public Methods

public BiometricSignatureData.InputMethod getInputMethod ()

The device that was used to create the signature.

Returns
  • Input method used to create the signature.

public 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(PointF, int) to convert this point to the view coordinates.

public 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.

public 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.

public 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.