36 lines
1.0 KiB
Java
36 lines
1.0 KiB
Java
package com.kofax.kmc.kui.uicontrols;
|
|
|
|
import android.hardware.Camera;
|
|
import com.kofax.kmc.kut.utilities.Size;
|
|
import java.util.EventObject;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class CameraInitializationEvent extends EventObject {
|
|
private static final long serialVersionUID = 1;
|
|
private Camera.Size kh;
|
|
private CameraInitStatus ki;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public enum CameraInitStatus {
|
|
CAMERA_STATUS_UNKNOWN,
|
|
CAMERA_VIEW_CREATED,
|
|
CAMERA_IMAGE_RESOLUTION_CHANGED,
|
|
CAMERA_USE_VIDEO_FRAME_CHANGED
|
|
}
|
|
|
|
public CameraInitializationEvent(Object obj, Camera.Size size, CameraInitStatus cameraInitStatus) {
|
|
super(obj);
|
|
CameraInitStatus cameraInitStatus2 = CameraInitStatus.CAMERA_STATUS_UNKNOWN;
|
|
this.kh = size;
|
|
this.ki = cameraInitStatus;
|
|
}
|
|
|
|
public final Size getDefaultImageCaptureResolution() {
|
|
return new Size(this.kh);
|
|
}
|
|
|
|
public final CameraInitStatus getCameraInitStatus() {
|
|
return this.ki;
|
|
}
|
|
}
|