Package com.gemalto.mfs.mwsdk.cdcvm
Class DeviceCVMVerifierInput
- java.lang.Object
-
- com.gemalto.mfs.mwsdk.cdcvm.DeviceCVMVerifierInput
-
public class DeviceCVMVerifierInput extends java.lang.ObjectA class that contains information used for starting biometric authentication.This is applicable only from Android 6.0 onwards and if
CHVerificationMethodisBIOMETRICS.
-
-
Constructor Summary
Constructors Constructor Description DeviceCVMVerifierInput(java.lang.CharSequence title, java.lang.CharSequence subtitle, java.lang.CharSequence description, java.lang.CharSequence negativeButtonText)Creates aDeviceCVMVerifierInputwith the specifiedtitle,subtitle,descriptionandnegative button text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.CharSequencegetDescription()Returns thedescriptionset in the constructor.DeviceCVMCancellationSignalgetDeviceCVMCancellationSignal()Returns theDeviceCVMCancellationSignalcreated for thisDeviceCVMVerifierInput, which can be used to cancel the authentication operation started byDeviceCVMVerifier.startAuthentication(DeviceCVMVerifierInput)in the case ofBIOMETRICSasCHVerificationMethod.java.lang.CharSequencegetNegativeButtonText()Returns thenegative button textset in the constructor.java.lang.CharSequencegetSubtitle()Returns thesubtitleset in the constructor.java.lang.CharSequencegetTitle()Returns thetitleset in the constructor.
-
-
-
Constructor Detail
-
DeviceCVMVerifierInput
public DeviceCVMVerifierInput(java.lang.CharSequence title, java.lang.CharSequence subtitle, java.lang.CharSequence description, java.lang.CharSequence negativeButtonText)Creates aDeviceCVMVerifierInputwith the specifiedtitle,subtitle,descriptionandnegative button text.Notes:
-
title,subtitle,descriptionandnegative button textare only used when OS version is >= Android Q when displaying the unified biometric prompt dialog. -
A
DeviceCVMCancellationSignalwill also be created, which can be used to cancel the biometric authentication process.
-
-
-
Method Detail
-
getDeviceCVMCancellationSignal
public DeviceCVMCancellationSignal getDeviceCVMCancellationSignal()
Returns theDeviceCVMCancellationSignalcreated for thisDeviceCVMVerifierInput, which can be used to cancel the authentication operation started byDeviceCVMVerifier.startAuthentication(DeviceCVMVerifierInput)in the case ofBIOMETRICSasCHVerificationMethod.
-
getTitle
public java.lang.CharSequence getTitle()
Returns thetitleset in the constructor.
-
getDescription
public java.lang.CharSequence getDescription()
Returns thedescriptionset in the constructor.
-
getSubtitle
public java.lang.CharSequence getSubtitle()
Returns thesubtitleset in the constructor.
-
getNegativeButtonText
public java.lang.CharSequence getNegativeButtonText()
Returns thenegative button textset in the constructor.
-
-