Package com.google.android.fhir.datacapture.contrib.views.barcode.mlkit.md

Types

Link copied to clipboard
class BitmapInputInfo(bitmap: <ERROR CLASS>) : InputInfo
Link copied to clipboard
class CameraInputInfo(frameByteBuffer: ByteBuffer, frameMetadata: FrameMetadata) : InputInfo
Link copied to clipboard
interface InputInfo
Link copied to clipboard
class LiveBarcodeScanningFragment

Demonstrates the barcode scanning workflow using camera preview.

Link copied to clipboard
class ScopedExecutor(executor: Executor) : Executor

Wraps an existing executor to provide a .shutdown method that allows subsequent cancellation of submitted runnables.

Link copied to clipboard
object Utils

Utility class to provide helper methods.

Functions

Link copied to clipboard
fun <TResult> <ERROR CLASS><TResult>.addOnCanceledListener(executor: Executor, listener: () -> Unit): <ERROR CLASS><TResult>

Quality-of-life helper to allow using trailing lambda syntax for adding a cancellation listener to a Task.

Link copied to clipboard
fun <TResult> <ERROR CLASS><TResult>.addOnCompleteListener(executor: Executor, listener: (<ERROR CLASS><TResult>) -> Unit): <ERROR CLASS><TResult>

Quality-of-life helper to allow using trailing lambda syntax for adding a completion listener to a Task.

Link copied to clipboard
fun <TResult> <ERROR CLASS><TResult>.addOnFailureListener(executor: Executor, listener: (Exception) -> Unit): <ERROR CLASS><TResult>

Quality-of-life helper to allow using trailing lambda syntax for adding a failure listener to a Task.

Link copied to clipboard
fun <TResult> <ERROR CLASS><TResult>.addOnSuccessListener(executor: Executor, listener: (TResult) -> Unit): <ERROR CLASS><TResult>

Quality-of-life helper to allow using trailing lambda syntax for adding a success listener to a Task.