Packagede.popforge.imageprocessing.capture
Interfacepublic interface ICaptureDevice
ImplementorsWebCam

A capture device draws each frame on a BitmapData and can be used to stream webcam pictures or FLV playback.



Public Methods
 MethodDefined by
  
getCurrentFrame():BitmapData
Returns a reference to the current frame.
ICaptureDevice
  
getPreviousFrame():BitmapData
Returns a reference to the previous frame.
ICaptureDevice
  
toString():String
This function has to be implemented and returns a string with class specific properties.
ICaptureDevice
Method detail
getCurrentFrame()method
public function getCurrentFrame():BitmapData

Returns a reference to the current frame. It is forbidden to use BitmapData.dispose() with such a reference.

Returns
BitmapData — A BitmapData object which is reused for every new frame.
getPreviousFrame()method 
public function getPreviousFrame():BitmapData

Returns a reference to the previous frame. It is forbidden to use BitmapData.dispose() with such a reference.

Returns
BitmapData — A BitmapData object which is reused for every new frame.
toString()method 
public function toString():String

This function has to be implemented and returns a string with class specific properties.

Returns
String — A string listing class specific properties.