lmw
2023-06-07 f9dd2cdac746d308d5c4bcfdbea389ab67a66b12
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();
}