Open vishrut2207 opened 6 years ago
@vishrut2207
You can do this to the CameraVideoPicker instance:
CameraVideoPicker cameraVideoPicker = new CameraVideoPicker(this);
...
Bundle bundle = new Bundle();
bundle.putInt(MediaStore.EXTRA_DURATION_LIMIT, 300);
cameraVideoPicker.setExtras(bundle);
cameraVideoPicker.pickVideo();
You can see, any extra you set will be added to the intent used to launch a picker. https://github.com/coomar2841/android-multipicker-library/blob/0023fb894e15e441e07764680f286caa99744450/multipicker/src/main/java/com/kbeanie/multipicker/core/VideoPickerImpl.java#L106-L108
It's not possible to specify the size of the files.
Is it possible to set the maximum number of images or files to pick?
I want to set max limit for image picker. is this a possible ?