to top
Datalogic APIs
public class

CapturedFrame

extends Object
java.lang.Object
   ↳ com.datalogic.decode.CapturedFrame

Class Overview

CaptureFrame is a data structure passed by FrameCaptureListener.onFrameCapture to retrieve frame data from the decoder.

Summary

Public Methods
byte[] getData()
Returns the frame as byte array
FrameCaptureFormat getFormat()
Returns the format of the frame as FrameCaptureFormat
int getHeight()
Returns the height of the frame
FrameCaptureMode getMode()
Returns the capture mode of the frame as FrameCaptureMode
long getTimestamp()
Returns the timestamp of when the frame was captured
int getWidth()
Returns the width of the frame
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public byte[] getData ()

Added in revision 22

Returns the frame as byte array

public FrameCaptureFormat getFormat ()

Added in revision 22

Returns the format of the frame as FrameCaptureFormat

public int getHeight ()

Added in revision 22

Returns the height of the frame

public FrameCaptureMode getMode ()

Added in revision 22

Returns the capture mode of the frame as FrameCaptureMode

public long getTimestamp ()

Added in revision 22

Returns the timestamp of when the frame was captured

public int getWidth ()

Added in revision 22

Returns the width of the frame