Class RequestedLivenessCheck.Builder
java.lang.Object
com.yoti.api.client.docs.session.create.check.RequestedLivenessCheck.Builder
- Enclosing class:
- RequestedLivenessCheck
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()forLivenessType(String livenessType) Sets the type of the liveness check to the supplied valueSets the type to be of a STATIC liveness checkSets the type to be of a ZOOM liveness checkwithMaxRetries(int maxRetries) Sets the maximum number of retries allowed by the user
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
forZoomLiveness
Sets the type to be of a ZOOM liveness check- Returns:
- the builder
-
forStaticLiveness
Sets the type to be of a STATIC liveness check- Returns:
- the builder
-
forLivenessType
Sets the type of the liveness check to the supplied value- Parameters:
livenessType- the type of the liveness check- Returns:
- the builder
-
withMaxRetries
Sets the maximum number of retries allowed by the user- Parameters:
maxRetries- the maximum number of retries- Returns:
- the builder
-
build
-