Class BiometricSignatureData.Builder

    • Constructor Detail

      • BiometricSignatureData.Builder

        BiometricSignatureData.Builder()
    • Method Detail

      • setPressurePoints

         BiometricSignatureData.Builder setPressurePoints(@Nullable() List<Float> pressurePoints)

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

        Parameters:
        pressurePoints - List of pressure points.
        Returns:

        This Builder for call chaining.

      • setTimePoints

         BiometricSignatureData.Builder setTimePoints(@Nullable() List<Long> timePoints)

        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.

        Parameters:
        timePoints - List of timing values or null if no values were collected.
        Returns:

        This Builder for call chaining.

      • setTouchRadius

         BiometricSignatureData.Builder setTouchRadius(@Nullable() Float touchRadius)

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

        Parameters:
        touchRadius - Touch radius of the input device or null if touch radius is unknown.
        Returns:

        This Builder for call chaining.