Table of Contents

Class ScanbotActivityResultKt

Namespace
IO.Scanbot.Sdk.UI
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/ScanbotActivityResultKt", DoNotGenerateAcw = true)]
public sealed class ScanbotActivityResultKt : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ScanbotActivityResultKt
Implements
Inherited Members

Methods

RegisterForActivityResultOk(AppCompatActivity, ActivityResultContract, IFunction1)

[Register("registerForActivityResultOk", "(Landroidx/appcompat/app/AppCompatActivity;Landroidx/activity/result/contract/ActivityResultContract;Lkotlin/jvm/functions/Function1;)Landroidx/activity/result/ActivityResultLauncher;", "")]
[JavaTypeParameters(new string[] { "I", "O extends io.scanbot.sdk.ui.ScanbotActivityResult<?>" })]
public static ActivityResultLauncher RegisterForActivityResultOk(AppCompatActivity obj, ActivityResultContract contract, IFunction1 callback)

Parameters

obj AppCompatActivity
contract ActivityResultContract
callback IFunction1

Returns

ActivityResultLauncher

RegisterForActivityResultOk(Fragment, ActivityResultContract, IFunction1)

[Register("registerForActivityResultOk", "(Landroidx/fragment/app/Fragment;Landroidx/activity/result/contract/ActivityResultContract;Lkotlin/jvm/functions/Function1;)Landroidx/activity/result/ActivityResultLauncher;", "")]
[JavaTypeParameters(new string[] { "I", "O extends io.scanbot.sdk.ui.ScanbotActivityResult<?>" })]
public static ActivityResultLauncher RegisterForActivityResultOk(Fragment obj, ActivityResultContract contract, IFunction1 callback)

Parameters

obj Fragment
contract ActivityResultContract
callback IFunction1

Returns

ActivityResultLauncher