Table of Contents

Class InternalBarcodeScannerActivity.InternalResultContract

Namespace
IO.Scanbot.Sdk.UI.View.Barcode
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/view/barcode/InternalBarcodeScannerActivity$InternalResultContract", DoNotGenerateAcw = true)]
[JavaTypeParameters(new string[] { "R extends io.scanbot.sdk.ui.view.barcode.InternalBarcodeScannerActivity.InternalResult" })]
public abstract class InternalBarcodeScannerActivity.InternalResultContract : ActivityResultContract, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ActivityResultContract
InternalBarcodeScannerActivity.InternalResultContract
Implements
Derived
Inherited Members

Constructors

InternalResultContract(Class)

[Register(".ctor", "(Ljava/lang/Class;)V", "")]
public InternalResultContract(Class activityClass)

Parameters

activityClass Class

InternalResultContract(nint, JniHandleOwnership)

protected InternalResultContract(nint javaReference, JniHandleOwnership transfer)

Parameters

javaReference nint
transfer JniHandleOwnership

Methods

CreateIntent(Context, BarcodeScannerConfiguration)

[Register("createIntent", "(Landroid/content/Context;Lio/scanbot/sdk/ui/view/barcode/configuration/BarcodeScannerConfiguration;)Landroid/content/Intent;", "GetCreateIntent_Landroid_content_Context_Lio_scanbot_sdk_ui_view_barcode_configuration_BarcodeScannerConfiguration_Handler")]
public virtual Intent CreateIntent(Context context, BarcodeScannerConfiguration input)

Parameters

context Context
input BarcodeScannerConfiguration

Returns

Intent

InstantiateResult(int, BarcodeScanningResult, bool, bool, bool, string, string)

[Register("instantiateResult", "(ILio/scanbot/sdk/barcode/entity/BarcodeScanningResult;ZZZLjava/lang/String;Ljava/lang/String;)Lio/scanbot/sdk/ui/view/barcode/InternalBarcodeScannerActivity$InternalResult;", "GetInstantiateResult_ILio_scanbot_sdk_barcode_entity_BarcodeScanningResult_ZZZLjava_lang_String_Ljava_lang_String_Handler")]
protected abstract Object InstantiateResult(int resultCode, BarcodeScanningResult result, bool isLicenseInvalid, bool sdkIsNotInitialized, bool isAutoCancelledByTimeout, string barcodeImagePath, string barcodePreviewFramePath)

Parameters

resultCode int
result BarcodeScanningResult
isLicenseInvalid bool
sdkIsNotInitialized bool
isAutoCancelledByTimeout bool
barcodeImagePath string
barcodePreviewFramePath string

Returns

Object

ParseResult(int, Intent)

[Register("parseResult", "(ILandroid/content/Intent;)Lio/scanbot/sdk/ui/view/barcode/InternalBarcodeScannerActivity$InternalResult;", "GetParseResult_ILandroid_content_Intent_Handler")]
public override Object ParseResult(int resultCode, Intent intent)

Parameters

resultCode int
intent Intent

Returns

Object