49 lines
1.1 KiB
Java
49 lines
1.1 KiB
Java
|
package com.kofax.kmc.kui.uicontrols;
|
||
|
|
||
|
import android.graphics.Bitmap;
|
||
|
import com.kofax.mobile.sdk._internal.impl.event.RealtimeVideoEvent;
|
||
|
import java.util.EventObject;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class PreviewFrameEvent extends EventObject {
|
||
|
private static final long serialVersionUID = 1;
|
||
|
private final RealtimeVideoEvent mf;
|
||
|
|
||
|
public PreviewFrameEvent(Object obj, RealtimeVideoEvent realtimeVideoEvent) {
|
||
|
super(obj);
|
||
|
this.mf = realtimeVideoEvent;
|
||
|
}
|
||
|
|
||
|
public Bitmap getBitmap() {
|
||
|
return getBitmap(true);
|
||
|
}
|
||
|
|
||
|
public Bitmap getBitmap(boolean z) {
|
||
|
return this.mf.getBitmap(Boolean.valueOf(z));
|
||
|
}
|
||
|
|
||
|
public Bitmap getBitmapLandscape() {
|
||
|
return this.mf.getBitmapLandscape();
|
||
|
}
|
||
|
|
||
|
public int getRotationLandscape() {
|
||
|
return this.mf.getRotationLandscape();
|
||
|
}
|
||
|
|
||
|
public int getRotation() {
|
||
|
return this.mf.getRotation();
|
||
|
}
|
||
|
|
||
|
public byte[] getData() {
|
||
|
return this.mf.getData();
|
||
|
}
|
||
|
|
||
|
public int getWidth() {
|
||
|
return this.mf.getWidth();
|
||
|
}
|
||
|
|
||
|
public int getHeight() {
|
||
|
return this.mf.getHeight();
|
||
|
}
|
||
|
}
|