setOutputUri

abstract fun setOutputUri(uri: Uri?): CropProperty

Set the uri for the output image.

Using with CropPhotoContract: You don't need to call this method.

Using without CropPhotoContract: When Build.VERSION.SDK_INT is smaller than Build.VERSION_CODES.R, you need to call Context.revokeUriPermission to revoke the uri permission by yourself. For details, refer to the implementation of setOutputUri.

See also