-
public final class CropImageContract extends ActivityResultContract<CropImageContractOptions, CropImageView.CropResult>
An ActivityResultContract to start an activity that allows the user to crop an image.
The activity can be heavily customized by the input CropImageContractOptions.
If you do not provide an 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 IntentcreateIntent(Context context, CropImageContractOptions input)CropImageView.CropResultparseResult(Integer resultCode, Intent intent)-
-
Method Detail
-
createIntent
Intent createIntent(Context context, CropImageContractOptions input)
-
parseResult
CropImageView.CropResult parseResult(Integer resultCode, Intent intent)
-
-
-
-