SDKConstants

This is the constant class for the developers to use It contains the constant information for the SDK user.

Since

1.0.0

Types

Link copied to clipboard
object Anchors

This is the option value to com.samsung.android.knox.smartscan.preview.miniscanner.MiniScannerSettings.setFloatingButtonAnchor. Possible anchor options for floating button are BOTTOM_LEFT, BOTTOM_RIGHT, TOP_LEFT, TOP_RIGHT.

Link copied to clipboard

This is the option value to switch the camera facing.

Link copied to clipboard

This is the option value to setCameraResolution() in com.samsung.android.knox.smartscan.preview.data.PreviewConfig.Builder. RESOLUTION_1080P represent 1920 * 1080, RESOLUTION_UHD represent 3840 * 2160.

Link copied to clipboard

This is the option value to enable or disable the torch.

Link copied to clipboard

This is the option value to change focus mode by touch gesture. You need to pass this option in com.samsung.android.knox.smartscan.preview.control.FocusModelControl.setMode method.

Link copied to clipboard
Link copied to clipboard

This is the Id of mini scanner button.

Link copied to clipboard

This is the option value to setHardwareKey for launching mini scanner.

Link copied to clipboard

This is the option value to change scan mode of mini scanner.

Link copied to clipboard

This is the state of camera preview.