Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import io.scanbot.sdk.creditcard.entity.CreditCard
import io.scanbot.sdk.geometry.AspectRatio

class ScannerActivity : AppCompatActivity() {
// @Tag("Credit Card Classic Camera")
// @Tag("Credit Card Custom UI")
private lateinit var binding: ActivityScannerBinding


Expand Down Expand Up @@ -81,5 +81,5 @@ class ScannerActivity : AppCompatActivity() {
useFlash = !useFlash
binding.cameraView.useFlash(useFlash)
}
// @EndTag("Credit Card Classic Camera")
// @EndTag("Credit Card Custom UI")
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import io.scanbot.sdk.util.log.LoggerProvider
class MRZLiveScanningActivity : AppCompatActivity() {
private val logger = LoggerProvider.logger

// @Tag("Mrz Classic Camera")
// @Tag("MRZ Custom UI")
private lateinit var cameraView: ScanbotCameraXView
private lateinit var finderOverlay: FinderOverlayView
private lateinit var mrzScannerFrameHandler: MrzScannerFrameHandler
Expand Down Expand Up @@ -88,8 +88,8 @@ class MRZLiveScanningActivity : AppCompatActivity() {
super.onResume()
mrzScannerFrameHandler.isEnabled = true
}
// @EndTag("MRZ Custom UI")

// @EndTag("Mrz Classic Camera")
private fun askPermission() {
if (ContextCompat.checkSelfPermission(
this,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @Tag("Mrz Camera Layout")-->
<!-- @Tag("MRZ Camera Layout")-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
Expand Down Expand Up @@ -39,4 +39,4 @@
android:layout_alignParentEnd="true"
android:text="Flash" />
</RelativeLayout>
<!-- @EndTag("Mrz Camera Layout")-->
<!-- @EndTag("MRZ Camera Layout")-->
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import io.scanbot.sdk.ui.camera.ScanbotCameraXView
import io.scanbot.sdk.ui.camera.ZoomFinderOverlayView

class ScannerActivity : AppCompatActivity() {
// @Tag("Text Pattern Classic Camera")
// @Tag("Text Pattern Custom UI")
private lateinit var cameraView: IScanbotCameraView
private lateinit var resultTextView: TextView

Expand Down Expand Up @@ -80,5 +80,5 @@ class ScannerActivity : AppCompatActivity() {
useFlash = !useFlash
cameraView.useFlash(useFlash)
}
// @EndTag("Text Pattern Classic Camera")
// @EndTag("Text Pattern Custom UI")
}