rememberLauncherForDropInResult

Register your Composable with the Activity Result API and receive the final Drop-in result using the SessionDropInCallback.

This must be called unconditionally, as part of the initialization path.

You will receive the Drop-in result in the SessionDropInCallback.onDropInResult method. Check out SessionDropInResult class for all the possible results you might receive.

Return

The ActivityResultLauncher required to receive the result of Drop-in.

Parameters

callback

Callback for the Drop-in result.


Register your Composable with the Activity Result API and receive the final Drop-in result using the DropInCallback.

This must be called unconditionally, as part of the initialization path.

You will receive the Drop-in result in the DropInCallback.onDropInResult method. Check out DropInResult for all the possible results you might receive.

Return

The ActivityResultLauncher required to receive the result of Drop-in.

Parameters

callback

Callback for the Drop-in result.