ActivityResultLauncherKt

public final class ActivityResultLauncherKt


Summary

Public methods

static final void

Convenience method to launch a no-argument registered call without needing to pass in null.

static final void

Convenience method to launch a no-argument registered call without needing to pass in Unit.

Public methods

ActivityResultLauncherKt.launch

@NonNull
public static final void ActivityResultLauncherKt.launch(
    @NonNull ActivityResultLauncher<@NonNull Void> receiver,
    @Nullable ActivityOptionsCompat options
)

Convenience method to launch a no-argument registered call without needing to pass in null.

ActivityResultLauncherKt.launchUnit

@NonNull
public static final void ActivityResultLauncherKt.launchUnit(
    @NonNull ActivityResultLauncher<Unit> receiver,
    @Nullable ActivityOptionsCompat options
)

Convenience method to launch a no-argument registered call without needing to pass in Unit.