lmw
2023-06-16 03972ad1d3ce6ffe0be0395c0a4d5dcb4474031f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.luck.picture.lib.compress;
 
import com.luck.picture.lib.entity.LocalMedia;
 
import java.io.IOException;
import java.io.InputStream;
 
/**
 * 通过此接口获取输入流,以兼容文件、FileProvider方式获取到的图片
 * <p>
 * Get the input stream through this interface, and obtain the picture using compatible files and FileProvider
 */
public interface InputStreamProvider {
 
    InputStream open() throws IOException;
 
    void close();
 
    String getPath();
 
    LocalMedia getMedia();
}