PictureSelectionModel

Constructors

Link copied to clipboard
public void PictureSelectionModel(PictureSelector selector, int chooseMode)
public void PictureSelectionModel(PictureSelector selector, int chooseMode, boolean camera)

Functions

Link copied to clipboard
public PictureSelectionModel cameraFileName(String fileName)
Camera custom local file name # Such as xxx.
Link copied to clipboard
public void forResult(int requestCode)
Start to select media and wait for result.
@Deprecated()
public void forResult(int requestCode, int enterAnim, int exitAnim)
# replace for setPictureWindowAnimationStyle(); Start to select media and wait for result.
Link copied to clipboard
不可发送gif图片大小
Link copied to clipboard
public PictureSelectionModel imageSpanCount(int imageSpanCount)
Link copied to clipboard
public PictureSelectionModel isAndroidQTransform(boolean isAndroidQTransform)
# If you want to handle the Android Q path, if not, just return the uri, The getAndroidQToPath(); field will be empty
Link copied to clipboard
public PictureSelectionModel isCamera(boolean isCamera)
Link copied to clipboard
public PictureSelectionModel isGif(boolean isGif)
Link copied to clipboard
public PictureSelectionModel isNotPreviewDownload(boolean isNotPreviewDownload)
Link copied to clipboard
public PictureSelectionModel isSingleDirectReturn(boolean isSingleDirectReturn)
Link copied to clipboard
public PictureSelectionModel isZoomAnim(boolean zoomAnim)
Link copied to clipboard
public PictureSelectionModel loadImageEngine(ImageEngine engine)
Link copied to clipboard
public PictureSelectionModel maxSelectNum(int maxSelectNum)
Link copied to clipboard
public PictureSelectionModel minSelectNum(int minSelectNum)
Link copied to clipboard
public PictureSelectionModel previewImage(boolean enablePreview)
Link copied to clipboard
public PictureSelectionModel previewVideo(boolean enPreviewVideo)
Link copied to clipboard
public PictureSelectionModel querySpecifiedFormatSuffix(String specifiedFormat)
Link copied to clipboard
public PictureSelectionModel selectionMedia(List<LocalMedia> selectionMedia)
Link copied to clipboard
public PictureSelectionModel selectionMode(int selectionMode)
Link copied to clipboard
public PictureSelectionModel setRequestedOrientation(int requestedOrientation)
Change the desired orientation of this activity.
Link copied to clipboard
不可发送video时长limit