# PictureSelectionModel

public class PictureSelectionModel

## Constructors

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

## Functions

cameraFileName
Link copied to clipboard
public PictureSelectionModel cameraFileName(String fileName)
Camera custom local file name # Such as xxx.
forResult
Link copied to clipboard
public void forResult(int requestCode)
Start to select media and wait for result.
@Deprecated()
public void forResult(int requestCode, boolean isAll)
@Deprecated()
public void forResult(int requestCode, int enterAnim, int exitAnim)
# replace for setPictureWindowAnimationStyle(); Start to select media and wait for result.
gifSizeLimit
Link copied to clipboard
public PictureSelectionModel gifSizeLimit(int limit)
不可发送gif图片大小
imageSpanCount
Link copied to clipboard
public PictureSelectionModel imageSpanCount(int imageSpanCount)
isAndroidQTransform
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
isCamera
Link copied to clipboard
public PictureSelectionModel isCamera(boolean isCamera)
isGif
Link copied to clipboard
public PictureSelectionModel isGif(boolean isGif)
isNotPreviewDownload
Link copied to clipboard
public PictureSelectionModel isNotPreviewDownload(boolean isNotPreviewDownload)
isSingleDirectReturn
Link copied to clipboard
public PictureSelectionModel isSingleDirectReturn(boolean isSingleDirectReturn)
isZoomAnim
Link copied to clipboard
public PictureSelectionModel isZoomAnim(boolean zoomAnim)
loadImageEngine
Link copied to clipboard
public PictureSelectionModel loadImageEngine(ImageEngine engine)
maxSelectNum
Link copied to clipboard
public PictureSelectionModel maxSelectNum(int maxSelectNum)
minSelectNum
Link copied to clipboard
public PictureSelectionModel minSelectNum(int minSelectNum)
previewImage
Link copied to clipboard
public PictureSelectionModel previewImage(boolean enablePreview)
previewVideo
Link copied to clipboard
public PictureSelectionModel previewVideo(boolean enPreviewVideo)
querySpecifiedFormatSuffix
Link copied to clipboard
public PictureSelectionModel querySpecifiedFormatSuffix(String specifiedFormat)
selectionMedia
Link copied to clipboard
public PictureSelectionModel selectionMedia(List<LocalMedia> selectionMedia)
selectionMode
Link copied to clipboard
public PictureSelectionModel selectionMode(int selectionMode)
setRequestedOrientation
Link copied to clipboard
public PictureSelectionModel setRequestedOrientation(int requestedOrientation)
Change the desired orientation of this activity.
videoDurationLimit
Link copied to clipboard
public PictureSelectionModel videoDurationLimit(int duration)
不可发送video时长limit