We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.11.2
able
public static void camera(Activity activity, boolean isCrop, UCrop.Options options, OnResultCallbackListener<LocalMedia> callbackListener) { ImageCropEngine imageCropEngine = new ImageCropEngine() { @Override public UCrop.Options getOptions() { if (options == null) { return super.getOptions(); } else { return options; } } }; // Take photos alone PictureSelectionCameraModel cameraModel = PictureSelector.create(activity) .openCamera(SelectMimeType.ofImage())//Select type .setCameraInterceptListener(null)//Custom camera event .setCropEngine(isCrop ? imageCropEngine : null)// Cropping engine //.setRecordAudioInterceptListener(new MeOnRecordAudioInterceptListener())//Recording callback event //.setCropEngine(getCropFileEngine()) .setCompressEngine(new ImageFileCompressEngine())//Compression engine //.setAddBitmapWatermarkListener(getAddBitmapWatermarkListener())//Add watermark to the picture //.setVideoThumbnailListener(getVideoThumbnailEventListener())//Processing video thumbnails //.setLanguage(language) //.setSandboxFileEngine(new MeSandboxFileEngine())//Customized sandbox file processing .isOriginalControl(true)// Whether to enable the original image function .setPermissionDescriptionListener(getPermissionDescriptionListener())//Permission description //.setOutputAudioDir(getSandboxAudioOutputPath())//Create a custom audio output directory //.setSelectedData(mAdapter.getData())//Set selected data ; cameraModel.forResultActivity(callbackListener); } 单独拍照设置.setPermissionDescriptionListener(getPermissionDescriptionListener())// 权限说明 没有显示权限说明
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current use version?
What version is currently in use?
Will this problem occur in demo?
Can the Demo reproduce this problem?
Describe the problem or provide an error log?
Describe the problem or provide an error log?
The text was updated successfully, but these errors were encountered: