discord-jadx/app/src/main/java/org/webrtc/CameraSession.java

33 lines
796 B
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package org.webrtc;
2022-03-02 20:59:20 +00:00
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public interface CameraSession {
2022-03-02 20:59:20 +00:00
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public interface CreateSessionCallback {
void onDone(CameraSession cameraSession);
void onFailure(FailureType failureType, String str);
}
2022-03-02 20:59:20 +00:00
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public interface Events {
void onCameraClosed(CameraSession cameraSession);
void onCameraDisconnected(CameraSession cameraSession);
void onCameraError(CameraSession cameraSession, String str);
void onCameraOpening();
void onFrameCaptured(CameraSession cameraSession, VideoFrame videoFrame);
}
2022-03-02 20:59:20 +00:00
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public enum FailureType {
ERROR,
DISCONNECTED
}
void stop();
}