Table of Contents

Class BaseBarcodeScannerActivity.InternalResultContract

Namespace
IO.Scanbot.Sdk.Ui_v2.Barcode.Common
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/barcode/common/BaseBarcodeScannerActivity$InternalResultContract", DoNotGenerateAcw = true)]
[JavaTypeParameters(new string[] { "R extends io.scanbot.sdk.ui_v2.barcode.common.BaseBarcodeScannerActivity.InternalResult" })]
public abstract class BaseBarcodeScannerActivity.InternalResultContract : ActivityResultContract, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ActivityResultContract
BaseBarcodeScannerActivity.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_v2/barcode/configuration/BarcodeScannerConfiguration;)Landroid/content/Intent;", "GetCreateIntent_Landroid_content_Context_Lio_scanbot_sdk_ui_v2_barcode_configuration_BarcodeScannerConfiguration_Handler")]
public virtual Intent CreateIntent(Context context, BarcodeScannerConfiguration input)

Parameters

context Context
input BarcodeScannerConfiguration

Returns

Intent

InstantiateResult(int, BarcodeScannerResult, bool, bool, bool, string, string)

[Register("instantiateResult", "(ILio/scanbot/sdk/ui_v2/barcode/configuration/BarcodeScannerResult;ZZZLjava/lang/String;Ljava/lang/String;)Lio/scanbot/sdk/ui_v2/barcode/common/BaseBarcodeScannerActivity$InternalResult;", "GetInstantiateResult_ILio_scanbot_sdk_ui_v2_barcode_configuration_BarcodeScannerResult_ZZZLjava_lang_String_Ljava_lang_String_Handler")]
protected abstract Object InstantiateResult(int resultCode, BarcodeScannerResult result, bool isLicenseInvalid, bool sdkIsNotInitialized, bool isAutoCancelledByTimeout, string barcodeImagePath, string barcodePreviewFramePath)

Parameters

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

Returns

Object

ParseResult(int, Intent)

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

Parameters

resultCode int
intent Intent

Returns

Object