public class LicensePlateScannerView implements ILicensePlateScannerView
Represents camera view for Data Scanner aka LicensePlateScanner screen of the application
public static io.scanbot.sdk.ui.view.licenseplate.LicensePlateScannerView.Companion Companion
public LicensePlateScannerView(@NotNull
android.content.Context context,
@NotNull
android.util.AttributeSet attrs)
Represents camera view for Data Scanner aka LicensePlateScanner screen of the application
protected void onAttachedToWindow()
protected void onDetachedFromWindow()
public void setListener(@NotNull
io.scanbot.sdk.ui.view.licenseplate.ILicensePlateScannerView.Listener listener)
listener - which will receive callbacks on user interactions.public void updateState(@NotNull
io.scanbot.sdk.ui.view.licenseplate.ILicensePlateScannerView.State newState)
public boolean handle(@NotNull
io.scanbot.sdk.camera.FrameHandlerResult<io.scanbot.sdk.licenseplate.LicensePlateScanResult,io.scanbot.sdk.SdkLicenseError> result)
public void setCameraOrientationMode(@NotNull
io.scanbot.sdk.ui.view.base.configuration.CameraOrientationMode cameraOrientationMode)
Sets camera orientation mode
cameraOrientationMode - CameraOrientationMode.LANDSCAPE or CameraOrientationMode.PORTRAITpublic void setCameraModule(@NotNull
io.scanbot.sdk.camera.CameraModule cameraModule)
Set camera module
cameraModule - one of the supported modes - CameraModulepublic void onConfirmationPending()
Called when the scan result is waiting for confirmation
public void onRetryClicked()
Called when the user wants to resume the process of scanning