限定符和类型 | 方法和说明 |
---|---|
ImagePicker.Builder |
ImagePicker.Builder.fromCamera(java.io.File file)
从相机选择
|
ImagePicker.Builder |
ImagePicker.Builder.fromCamera(java.io.File file,
int requestCode)
从相机选择
|
ImagePicker.Builder |
ImagePicker.Builder.fromDocument()
从文档UI选择
|
ImagePicker.Builder |
ImagePicker.Builder.fromDocument(int requestCode)
从文档UI选择
|
ImagePicker.Builder |
ImagePicker.Builder.fromGallery()
从图库UI选择
|
ImagePicker.Builder |
ImagePicker.Builder.fromGallery(int requestCode)
从图库UI选择
|
ImagePicker.Builder |
ImagePicker.Builder.permissionRequestCode(int requestCode)
设置权限请求码
|
ImagePicker.Builder |
ImagePicker.Builder.withCrop(com.lancewu.imagepicker.crop.Crop crop,
ImagePicker.CropConfigBuilder cropConfigBuilder,
int requestCode)
设置选择完照片需要裁剪,采用自定义裁剪器
|
ImagePicker.Builder |
ImagePicker.Builder.withCrop(ImagePicker.CropConfigBuilder cropConfigBuilder)
设置选择完照片需要裁剪,采用系统裁剪器
|