Kofax Mobile SDK API Reference
Public Member Functions | List of all members
PreviewFrameEvent Class Reference
Inheritance diagram for PreviewFrameEvent:

Public Member Functions

 PreviewFrameEvent (Object sender, RealtimeVideoEvent evt)
 
Bitmap getBitmap ()
 
Bitmap getBitmap (boolean rotated)
 
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

PreviewFrameEvent ( Object  sender,
RealtimeVideoEvent  evt 
)

Member Function Documentation

Bitmap getBitmap ( )

Lazily loads the image data into a bitmap

Returns
properly oriented image data as a bitmap
Bitmap getBitmap ( boolean  rotated)
Bitmap getBitmapLandscape ( )
byte [] getData ( )
int getHeight ( )
int getRotation ( )
int getRotationLandscape ( )
int getWidth ( )

The documentation for this class was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.