Table of Contents

Class BaseActivity

Namespace
IO.Scanbot.Sdk.UI.View.Base
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/view/base/BaseActivity", DoNotGenerateAcw = true)]
public abstract class BaseActivity : AppCompatActivity, 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, IInitializable, ILicensable, IPermissionAware, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ComponentActivity
ComponentActivity
FragmentActivity
AppCompatActivity
BaseActivity
Implements
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
Inherited Members
AppCompatActivity.OnCreateSupportNavigateUpTaskStack(TaskStackBuilder)
AppCompatActivity.OnLocalesChanged(LocaleListCompat)
AppCompatActivity.OnPrepareSupportNavigateUpTaskStack(TaskStackBuilder)
AppCompatActivity.OnSupportActionModeFinished(ActionMode)
AppCompatActivity.OnSupportActionModeStarted(ActionMode)
AppCompatActivity.OnSupportContentChanged()
AppCompatActivity.OnSupportNavigateUp()
AppCompatActivity.OnWindowStartingSupportActionMode(ActionMode.ICallback)
AppCompatActivity.SetSupportActionBar(Toolbar)
AppCompatActivity.StartSupportActionMode(ActionMode.ICallback)
AppCompatActivity.Delegate
AppCompatActivity.DrawerToggleDelegate
AppCompatActivity.SupportActionBar
AppCompatActivity.SupportParentActivityIntent
FragmentActivity.OnAttachFragment(Fragment)
FragmentActivity.OnResumeFragments()
FragmentActivity.SetEnterSharedElementCallback(SharedElementCallback)
FragmentActivity.SetExitSharedElementCallback(SharedElementCallback)
FragmentActivity.SupportFinishAfterTransition()
FragmentActivity.SupportInvalidateOptionsMenu()
FragmentActivity.SupportPostponeEnterTransition()
FragmentActivity.SupportStartPostponedEnterTransition()
FragmentActivity.Lifecycle
FragmentActivity.SupportFragmentManager
FragmentActivity.SupportLoaderManager
ComponentActivity.AddMenuProvider(IMenuProvider)
ComponentActivity.AddMenuProvider(IMenuProvider, ILifecycleOwner)
ComponentActivity.AddMenuProvider(IMenuProvider, ILifecycleOwner, Lifecycle.State)
ComponentActivity.AddOnConfigurationChangedListener(IConsumer)
ComponentActivity.AddOnContextAvailableListener(IOnContextAvailableListener)
ComponentActivity.AddOnMultiWindowModeChangedListener(IConsumer)
ComponentActivity.AddOnNewIntentListener(IConsumer)
ComponentActivity.AddOnPictureInPictureModeChangedListener(IConsumer)
ComponentActivity.AddOnTrimMemoryListener(IConsumer)
ComponentActivity.InitializeViewTreeOwners()
ComponentActivity.InvalidateMenu()
ComponentActivity.OnRetainCustomNonConfigurationInstance()
ComponentActivity.OnRetainNonConfigurationInstance()
ComponentActivity.PeekAvailableContext()
ComponentActivity.RegisterForActivityResult(ActivityResultContract, IActivityResultCallback)
ComponentActivity.RegisterForActivityResult(ActivityResultContract, ActivityResultRegistry, IActivityResultCallback)
ComponentActivity.RemoveMenuProvider(IMenuProvider)
ComponentActivity.RemoveOnConfigurationChangedListener(IConsumer)
ComponentActivity.RemoveOnContextAvailableListener(IOnContextAvailableListener)
ComponentActivity.RemoveOnMultiWindowModeChangedListener(IConsumer)
ComponentActivity.RemoveOnNewIntentListener(IConsumer)
ComponentActivity.RemoveOnPictureInPictureModeChangedListener(IConsumer)
ComponentActivity.RemoveOnTrimMemoryListener(IConsumer)
ComponentActivity.ActivityResultRegistry
ComponentActivity.DefaultViewModelCreationExtras
ComponentActivity.DefaultViewModelProviderFactory
ComponentActivity.FullyDrawnReporter
ComponentActivity.LastCustomNonConfigurationInstance
ComponentActivity.OnBackPressedDispatcher
ComponentActivity.SavedStateRegistry
ComponentActivity.ViewModelStore
ComponentActivity.ContextAvailable
ComponentActivity.PutExtraData(ComponentActivity.ExtraData)

Constructors

BaseActivity()

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

BaseActivity(nint, JniHandleOwnership)

protected BaseActivity(nint javaReference, JniHandleOwnership transfer)

Parameters

javaReference nint
transfer JniHandleOwnership

Properties

TerminateCondition

protected abstract ITerminateCondition TerminateCondition { get; }

Property Value

ITerminateCondition

Methods

ActivateCameraPermission()

[Register("activateCameraPermission", "()V", "GetActivateCameraPermissionHandler")]
public virtual void ActivateCameraPermission()

AddFragment(int, Fragment, string)

[Register("addFragment", "(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)V", "")]
protected void AddFragment(int containerViewId, Fragment fragment, string tag)

Parameters

containerViewId int
fragment Fragment
tag string

Cancel()

[Register("cancel", "()V", "GetCancelHandler")]
public virtual void Cancel()

CancelWithInvalidLicense()

[Register("cancelWithInvalidLicense", "()V", "GetCancelWithInvalidLicenseHandler")]
public virtual void CancelWithInvalidLicense()

CancelWithNotInitialized()

[Register("cancelWithNotInitialized", "()V", "GetCancelWithNotInitializedHandler")]
public virtual void CancelWithNotInitialized()

Create(Bundle)

[Register("create", "(Landroid/os/Bundle;)V", "GetCreate_Landroid_os_Bundle_Handler")]
protected abstract void Create(Bundle savedInstanceState)

Parameters

savedInstanceState Bundle

FinishCurrentState()

[Register("finishCurrentState", "()V", "GetFinishCurrentStateHandler")]
public virtual void FinishCurrentState()

Init(Activity)

[Register("init", "(Landroid/app/Activity;)V", "GetInit_Landroid_app_Activity_Handler")]
public virtual void Init(Activity activity)

Parameters

activity Activity

OpenPermissionSettings()

[Register("openPermissionSettings", "()V", "GetOpenPermissionSettingsHandler")]
public virtual void OpenPermissionSettings()

PerformOnCreate(Bundle)

[Register("performOnCreate", "(Landroid/os/Bundle;)V", "GetPerformOnCreate_Landroid_os_Bundle_Handler")]
protected virtual void PerformOnCreate(Bundle savedInstanceState)

Parameters

savedInstanceState Bundle

TryAskCameraPermission()

[Register("tryAskCameraPermission", "()V", "GetTryAskCameraPermissionHandler")]
public virtual void TryAskCameraPermission()