rememberCameraLauncher

actual fun rememberCameraLauncher(onResult: (PickedImage?) -> Unit): () -> Unit

Returns a zero-arg launch function; calling it opens the camera to capture a photo. onResult receives the captured image, or null if the user cancelled or capture failed. Mirrors rememberImagePickerLauncher so the edit sheet treats camera and gallery the same way.

expect fun rememberCameraLauncher(onResult: (PickedImage?) -> Unit): () -> Unit

Returns a zero-arg launch function; calling it opens the camera to capture a photo. onResult receives the captured image, or null if the user cancelled or capture failed. Mirrors rememberImagePickerLauncher so the edit sheet treats camera and gallery the same way.

actual fun rememberCameraLauncher(onResult: (PickedImage?) -> Unit): () -> Unit

Returns a zero-arg launch function; calling it opens the camera to capture a photo. onResult receives the captured image, or null if the user cancelled or capture failed. Mirrors rememberImagePickerLauncher so the edit sheet treats camera and gallery the same way.

actual fun rememberCameraLauncher(onResult: (PickedImage?) -> Unit): () -> Unit

Returns a zero-arg launch function; calling it opens the camera to capture a photo. onResult receives the captured image, or null if the user cancelled or capture failed. Mirrors rememberImagePickerLauncher so the edit sheet treats camera and gallery the same way.

actual fun rememberCameraLauncher(onResult: (PickedImage?) -> Unit): () -> Unit

Returns a zero-arg launch function; calling it opens the camera to capture a photo. onResult receives the captured image, or null if the user cancelled or capture failed. Mirrors rememberImagePickerLauncher so the edit sheet treats camera and gallery the same way.

actual fun rememberCameraLauncher(onResult: (PickedImage?) -> Unit): () -> Unit

Returns a zero-arg launch function; calling it opens the camera to capture a photo. onResult receives the captured image, or null if the user cancelled or capture failed. Mirrors rememberImagePickerLauncher so the edit sheet treats camera and gallery the same way.