1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| package com.luck.picture.lib.camera.listener;
|
| import androidx.annotation.NonNull;
| import androidx.annotation.Nullable;
|
| import java.io.File;
|
| /**
| * @author:luck
| * @date:2020-01-04 13:38
| * @describe:相机回调监听
| */
| public interface CameraListener {
| /**
| * 拍照成功返回
| *
| * @param file
| */
| void onPictureSuccess(@NonNull File file);
|
| /**
| * 录像成功返回
| *
| * @param file
| */
| void onRecordSuccess(@NonNull File file);
|
| /**
| * 使用相机出错
| *
| * @param file
| */
| void onError(int videoCaptureError, @NonNull String message, @Nullable Throwable cause);
| }
|
|