Table of Contents

Class ScanbotActivityResultKt

Namespace
IO.Scanbot.Sdk.Ui_v2.Common.Activity
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/common/activity/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_v2.common.activity.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_v2.common.activity.ScanbotActivityResult<?>" })]
public static ActivityResultLauncher RegisterForActivityResultOk(Fragment obj, ActivityResultContract contract, IFunction1 callback)

Parameters

obj Fragment
contract ActivityResultContract
callback IFunction1

Returns

ActivityResultLauncher