Package com.incode.welcome_sdk.modules
Class FaceMatch.Builder
-
- All Implemented Interfaces:
public final class FaceMatch.Builder
-
-
Constructor Summary
Constructors Constructor Description FaceMatch.Builder()
-
Method Summary
Modifier and Type Method Description final FaceMatch.BuildersetIdCategory(IdCategory idCategory)Accepts one or more IdCategory values and adds them to the list. final UnitaddIdCategory(IdCategory idCategory)Adds provided IdCategory to the categories list. final FaceMatch.BuildersetShowUserExists(Boolean showUserExists)Shows or hides the text label indicating that the user already exists. final FaceMatch.BuildersetShowLivenessResult(Boolean showLivenessResult)Shows or hides liveness result text label. final FaceMatch.BuildersetMatchType(FaceMatch.MatchType matchType)final FaceMatch.BuildersetFaceMatchAnimationEnabled(Boolean enableFaceMatchAnimation)Enables or disables the face match animation shown on the FaceMatch module. final FaceMatchbuild()-
-
Method Detail
-
setIdCategory
final FaceMatch.Builder setIdCategory(IdCategory idCategory)
Accepts one or more IdCategory values and adds them to the list. This replaces previously set IdCategory values.
- Parameters:
idCategory- one or more IdCategory values.
-
addIdCategory
final Unit addIdCategory(IdCategory idCategory)
Adds provided IdCategory to the categories list.
- Parameters:
idCategory- to be added to the list, ignored if item is already in the list.
-
setShowUserExists
final FaceMatch.Builder setShowUserExists(Boolean showUserExists)
Shows or hides the text label indicating that the user already exists.
-
setShowLivenessResult
final FaceMatch.Builder setShowLivenessResult(Boolean showLivenessResult)
Shows or hides liveness result text label.
-
setMatchType
final FaceMatch.Builder setMatchType(FaceMatch.MatchType matchType)
-
setFaceMatchAnimationEnabled
final FaceMatch.Builder setFaceMatchAnimationEnabled(Boolean enableFaceMatchAnimation)
-
-
-
-