Package com.gemalto.mfs.mwsdk.cdcvm
Class DeviceCVMVerifierInput
- java.lang.Object
-
- com.gemalto.mfs.mwsdk.cdcvm.DeviceCVMVerifierInput
-
public class DeviceCVMVerifierInput extends java.lang.Object
A class that contains information used for starting biometric authentication.This is applicable only from Android 6.0 onwards and if
CHVerificationMethod
isBIOMETRICS
.
-
-
Constructor Summary
Constructors Constructor Description DeviceCVMVerifierInput(java.lang.CharSequence title, java.lang.CharSequence subtitle, java.lang.CharSequence description, java.lang.CharSequence negativeButtonText)
Creates aDeviceCVMVerifierInput
with the specifiedtitle
,subtitle
,description
andnegative button text
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.CharSequence
getDescription()
Returns thedescription
set in the constructor.DeviceCVMCancellationSignal
getDeviceCVMCancellationSignal()
Returns theDeviceCVMCancellationSignal
created for thisDeviceCVMVerifierInput
, which can be used to cancel the authentication operation started byDeviceCVMVerifier.startAuthentication(DeviceCVMVerifierInput)
in the case ofBIOMETRICS
asCHVerificationMethod
.java.lang.CharSequence
getNegativeButtonText()
Returns thenegative button text
set in the constructor.java.lang.CharSequence
getSubtitle()
Returns thesubtitle
set in the constructor.java.lang.CharSequence
getTitle()
Returns thetitle
set 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 aDeviceCVMVerifierInput
with the specifiedtitle
,subtitle
,description
andnegative button text
.Notes:
-
title
,subtitle
,description
andnegative button text
are only used when OS version is >= Android Q when displaying the unified biometric prompt dialog. -
A
DeviceCVMCancellationSignal
will also be created, which can be used to cancel the biometric authentication process.
-
-
-
Method Detail
-
getDeviceCVMCancellationSignal
public DeviceCVMCancellationSignal getDeviceCVMCancellationSignal()
Returns theDeviceCVMCancellationSignal
created for thisDeviceCVMVerifierInput
, which can be used to cancel the authentication operation started byDeviceCVMVerifier.startAuthentication(DeviceCVMVerifierInput)
in the case ofBIOMETRICS
asCHVerificationMethod
.
-
getTitle
public java.lang.CharSequence getTitle()
Returns thetitle
set in the constructor.
-
getDescription
public java.lang.CharSequence getDescription()
Returns thedescription
set in the constructor.
-
getSubtitle
public java.lang.CharSequence getSubtitle()
Returns thesubtitle
set in the constructor.
-
getNegativeButtonText
public java.lang.CharSequence getNegativeButtonText()
Returns thenegative button text
set in the constructor.
-
-