Register Contact Picker
Registers the ManagedActivityResultLauncher within the Compose composition.
This method must be called within a Composable context. It initializes the launcher once and sets up the callback to process the resulting Uri into a Contact object.
Parameters
Callback invoked with the mapped Contact or null if the selection failed or was cancelled.
Registers the contact picker within the Compose composition.
This method must be called from a Composable function. It sets up any necessary infrastructure (like activity launchers or delegates) required to receive the result of a contact selection.
Parameters
Callback invoked with the selected Contact object, or null if the selection was cancelled or failed.
Registers the callback to be invoked when a contact is selected.
In the iOS implementation, this stores the provided onContactSelected lambda which will be triggered by the delegate methods once the user interacts with the picker.
Parameters
Callback invoked with the selected Contact or null if cancelled.