Atalasoft MobileImage API Reference
Public Member Functions | List of all members
com.kofax.kmc.kui.uicontrols.PreviewFrameEvent Class Reference
Inheritance diagram for com.kofax.kmc.kui.uicontrols.PreviewFrameEvent:

Public Member Functions

 PreviewFrameEvent (Object sender, RealtimeVideoEvent evt)
 
final Bitmap getBitmap ()
 
final Bitmap getBitmap (boolean rotated)
 
final Bitmap getBitmapLandscape ()
 
int getRotationLandscape ()
 
int getRotation ()
 
byte[] getData ()
 
int getWidth ()
 
int getHeight ()
 

Detailed Description

An event that indicates a preview frame is available from the camera.

The event includes the image data sent from the image sensor. A bitmap may be retrieved from this event by calling getBitmap().

This event is raised on a thread separate from the main UI thread. While this event it outstanding, no further PreviewFrameEvents will be raised.

See also
ImageCaptureView::addPreviewCallbackListener
ImageCaptureView::removePreviewCallbackListener

Constructor & Destructor Documentation

com.kofax.kmc.kui.uicontrols.PreviewFrameEvent.PreviewFrameEvent ( Object  sender,
RealtimeVideoEvent  evt 
)
inline

Member Function Documentation

final Bitmap com.kofax.kmc.kui.uicontrols.PreviewFrameEvent.getBitmap ( )
inline

Lazily loads the image data into a bitmap

Returns
properly oriented image data as a bitmap
final Bitmap com.kofax.kmc.kui.uicontrols.PreviewFrameEvent.getBitmap ( boolean  rotated)
inline
final Bitmap com.kofax.kmc.kui.uicontrols.PreviewFrameEvent.getBitmapLandscape ( )
inline
byte [] com.kofax.kmc.kui.uicontrols.PreviewFrameEvent.getData ( )
inline
int com.kofax.kmc.kui.uicontrols.PreviewFrameEvent.getHeight ( )
inline
int com.kofax.kmc.kui.uicontrols.PreviewFrameEvent.getRotation ( )
inline
int com.kofax.kmc.kui.uicontrols.PreviewFrameEvent.getRotationLandscape ( )
inline
int com.kofax.kmc.kui.uicontrols.PreviewFrameEvent.getWidth ( )
inline

The documentation for this class was generated from the following file:
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.