Table of Contents

Class BarcodeScannerActivity

Namespace
IO.Scanbot.Sdk.Ui_v2.Barcode
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/barcode/BarcodeScannerActivity", DoNotGenerateAcw = true)]
public sealed class BarcodeScannerActivity : BaseBarcodeScannerActivity, IComponentCallbacks2, IComponentCallbacks, KeyEvent.ICallback, LayoutInflater.IFactory2, LayoutInflater.IFactory, View.IOnCreateContextMenuListener, Window.ICallback, KeyEventDispatcher.IComponent, IFullyDrawnReporterOwner, IOnBackPressedDispatcherOwner, IContextAware, IActivityResultCaller, IActivityResultRegistryOwner, IOnMultiWindowModeChangedProvider, IOnNewIntentProvider, IOnPictureInPictureModeChangedProvider, IOnUserLeaveHintProvider, IOnConfigurationChangedProvider, IOnTrimMemoryProvider, IMenuHost, IHasDefaultViewModelProviderFactory, IViewModelStoreOwner, ISavedStateRegistryOwner, ILifecycleOwner, ActivityCompat.IOnRequestPermissionsResultCallback, ActivityCompat.IRequestPermissionsRequestCodeValidator, ActionBarDrawerToggle.IDelegateProvider, IAppCompatCallback, TaskStackBuilder.ISupportParentable, ICancelable, IForceCloseCallback, IInitializable, ILicensable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
BarcodeScannerActivity
Implements
Inherited Members

Constructors

BarcodeScannerActivity()

[Register(".ctor", "()V", "")]
public BarcodeScannerActivity()

Properties

ForceCloseCallback

public WeakReference ForceCloseCallback { get; set; }

Property Value

WeakReference

ResultsRepository

public override IResultRepository ResultsRepository { get; }

Property Value

IResultRepository

TerminateCondition

protected override ITerminateCondition TerminateCondition { get; }

Property Value

ITerminateCondition

Methods

ExtractResult(int, Intent)

[Register("extractResult", "(ILandroid/content/Intent;)Lio/scanbot/common/Result;", "")]
public static IResult ExtractResult(int resultCode, Intent data)

Parameters

resultCode int
data Intent

Returns

IResult

ForceClose()

[Register("forceClose", "()V", "")]
public override void ForceClose()

ForceClose(Context, bool)

[Register("forceClose", "(Landroid/content/Context;Z)V", "")]
public static void ForceClose(Context context, bool keepResult)

Parameters

context Context
keepResult bool

NewIntent(Context, BarcodeScannerScreenConfiguration)

[Obsolete("deprecated")]
[Register("newIntent", "(Landroid/content/Context;Lio/scanbot/sdk/ui_v2/barcode/configuration/BarcodeScannerScreenConfiguration;)Landroid/content/Intent;", "")]
public static Intent NewIntent(Context context, BarcodeScannerScreenConfiguration scannerConfiguration)

Parameters

context Context
scannerConfiguration BarcodeScannerScreenConfiguration

Returns

Intent

SetResultsRepository(IResultRepository)

[Register("setResultsRepository", "(Lio/scanbot/sdk/ui/result/ResultRepository;)V", "")]
public override void SetResultsRepository(IResultRepository value)

Parameters

value IResultRepository