what-the-bank/sources/com/kofax/mobile/sdk/_internal/camera/CameraSourceParametersHolde...

58 lines
1.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk._internal.camera;
import com.kofax.mobile.sdk._internal.camera.IVideoResourceProvider;
import com.kofax.mobile.sdk._internal.impl.camera.VideoPlayerCameraPlayer;
import com.kofax.mobile.sdk._internal.impl.camera.VideoPlayerCameraSourceType;
/* loaded from: classes3.dex */
public class CameraSourceParametersHolder {
private static boolean td = false;
private static String te;
private static IVideoResourceProvider.StorageType tf;
private static VideoPlayerCameraSourceType tg = VideoPlayerCameraSourceType.DEVICE_CAMERA;
private static boolean th = true;
private static VideoPlayerCameraPlayer.OnCompleteListener ti;
public static void useVideoPlayerCameraSourceProvider(boolean z) {
td = z;
}
public static void setupVideoParameters(String str, IVideoResourceProvider.StorageType storageType, VideoPlayerCameraSourceType videoPlayerCameraSourceType) {
te = str;
tf = storageType;
tg = videoPlayerCameraSourceType;
}
public static void setOnCompleteListener(VideoPlayerCameraPlayer.OnCompleteListener onCompleteListener) {
ti = onCompleteListener;
}
public static boolean isVideoPlayerCameraSourceProvider() {
return td;
}
public static IVideoResourceProvider.StorageType getStorageType() {
return tf;
}
public static VideoPlayerCameraPlayer.OnCompleteListener getOnCompleteListener() {
return ti;
}
public static String getFilename() {
return te;
}
public static boolean getDrawVideoFramesFlag() {
return th;
}
public static VideoPlayerCameraSourceType getCameraSourceType() {
return tg;
}
public static void drawVideoFrames(boolean z) {
th = z;
}
}