ActivityResultCallerKt

public final class ActivityResultCallerKt


Summary

Public methods

static final @NonNull ActivityResultLauncher<Unit>
<I extends Object, O extends Object> ActivityResultCallerKt.registerForActivityResult(
    ActivityResultCaller receiver,
    ActivityResultContract<I, O> contract,
    I input,
    ActivityResultRegistry registry,
    Function1<O, Unit> callback
)

A version of ActivityResultCaller.registerForActivityResult that additionally takes an input right away, producing a launcher that doesn't take any additional input when called.

static final @NonNull ActivityResultLauncher<Unit>
<I extends Object, O extends Object> ActivityResultCallerKt.registerForActivityResult(
    ActivityResultCaller receiver,
    ActivityResultContract<I, O> contract,
    I input,
    Function1<O, Unit> callback
)

A version of ActivityResultCaller.registerForActivityResult that additionally takes an input right away, producing a launcher that doesn't take any additional input when called.

Public methods

ActivityResultCallerKt.registerForActivityResult

public static final @NonNull ActivityResultLauncher<Unit> <I extends Object, O extends Object> ActivityResultCallerKt.registerForActivityResult(
    ActivityResultCaller receiver,
    ActivityResultContract<I, O> contract,
    I input,
    ActivityResultRegistry registry,
    Function1<O, Unit> callback
)

A version of ActivityResultCaller.registerForActivityResult that additionally takes an input right away, producing a launcher that doesn't take any additional input when called.

ActivityResultCallerKt.registerForActivityResult

public static final @NonNull ActivityResultLauncher<Unit> <I&n