createIntent

open override fun createIntent(context: Context, input: Uri): Intent

Creates an intent to launch the camera for capturing a photo.

Return

Camera intent configured to save the photo at the specified URI

Parameters

context

The context used to create the intent

input

The URI where the captured photo should be saved