-
public final class CropImageContract extends ActivityResultContract<CropImageContractOptions, CropImageView.CropResult>
An ActivityResultContract to start an activity that allows the user to crop an image. The UI can be customized using CropImageOptions. If you do not provide an CropImageContractOptions.uri in the input the user will be asked to pick an image before cropping.
-
-
Constructor Summary
Constructors Constructor Description CropImageContract()
-
Method Summary
Modifier and Type Method Description <ERROR CLASS>createIntent(Context context, CropImageContractOptions input)CropImageView.CropResultparseResult(Integer resultCode, Intent intent)-
-
Method Detail
-
createIntent
<ERROR CLASS> createIntent(Context context, CropImageContractOptions input)
-
parseResult
CropImageView.CropResult parseResult(Integer resultCode, Intent intent)
-
-
-
-