SybrinFacialComparisonConfiguration.Builder
import com.sybrin.facecomparison.SybrinFacialComparisonConfiguration
Builder for the immutable SybrinFacialComparisonConfiguration class
Summary
Public constructors |
Builder(String license) Creates a new Builder using a Sybrin Biometrics Android License. |
Public methods | |
build() Creates and returns a built SybrinFacialComparisonConfiguration object. | |
cloneConfiguration(Builder configuration) Clones the properties from an already created SybrinFacialComparisonConfiguration object. | |
setCorrelationId(String correlationId) Sets a unique value that is associated with the scan. | |
setCustomAuthorizationToken(String customAuthorizationToken) Specifies a custom authorization token to be used during the online calls within the SDK. | |
setEnvironmentKey(String environmentKey) Sets key that defines the SDK's internal environment variables. | |
saveImages(boolean saveImages) Sets whether the SDK should save all captured images to the device upon completion of the facial comparison process. |
Public constructors
Builder
public Builder (String license)
Creates a new Builder using a Sybrin Biometrics Android License.
Public methods
build
public
SybrinFacialComparisonConfiguration
build ()
Creates and returns a built SybrinFacialComparisonConfiguration object.
Returns | |
This value cannot be |
cloneConfiguration
public
SybrinFacialComparisonConfiguration.Builder
cloneConfiguration(
SybrinFacialComparisonConfiguration
configuration)
Clones the properties from an already created SybrinFacialComparisonConfiguration object.
Parameters | |
configuration | SybrinFacialComparisonConfiguration: An instance of a built configuration object.. |
Returns | |
This value cannot be |
setCorrelationId
public
SybrinFacialComparisonConfiguration.Builder
setCorrelationId(String correlationId)
Sets a unique value that is associated with the scan. Can be used to associate different SDK components in the back-end.
Parameters | |
setCorrelationId | String: Unique string identifying scan. Value cannot be |
Returns | |
This value cannot be |
setCustomAuthorizationToken
public
SybrinFacialComparisonConfiguration.Builder
setCustomAuthorizationToken (String customAuthorizationToken)
Specifies a custom authorization token to be used during the online calls within the SDK.
Parameters | |
customAuthorizationToken | String: The custom authorization token |
Returns | |
This value cannot be |
setEnvironmentKey
public
SybrinFacialComparisonConfiguration.Builder
setEnvironmentKey(String environmentKey)
Sets key that defines the SDK's internal environment variables.
Parameters | |
setEnvironmentKey | String: Key that defines SDK environment variables. Value cannot be |
Returns | |
This value cannot be |
saveImages
public
SybrinFacialComparisonConfiguration.Builder
saveImages (boolean saveImages)
Default value: false
Sets whether the SDK should save all captured images to the device upon completion of the facial comparison process.
Parameters | |
saveImages | boolean: |
Returns | |
This value cannot be |
Last updated