Package | com.diadraw.extensions.camera |
Class | public class NativeCameraDriverEvent |
Inheritance | NativeCameraDriverEvent flash.events.Event |
Property | Defined By | ||
---|---|---|---|
bitmapData : BitmapData
Determines the frame's pixel data for NativeCameraDriverEvent.FRAME_READY. | NativeCameraDriverEvent | ||
CAMERA_STARTED : String = CAMERA_STARTED [static] The camera preview has started. | NativeCameraDriverEvent | ||
data : String [read-only] | NativeCameraDriverEvent | ||
frameHeight : Number
Determines the frame height for NativeCameraDriverEvent.FRAME_READY. | NativeCameraDriverEvent | ||
FRAME_READY : String = FRAME_READY [static] A frame is ready to be read from the camera. | NativeCameraDriverEvent | ||
frameWidth : Number
Determines the frame width for NativeCameraDriverEvent.FRAME_READY. | NativeCameraDriverEvent | ||
message : String [read-only]
Gives you information on the camera status. | NativeCameraDriverEvent | ||
STATUS_EVENT : String = STATUS_EVENT [static] The camera has updated its status. | NativeCameraDriverEvent |
Method | Defined By | ||
---|---|---|---|
NativeCameraDriverEvent(_type:String, _message:String, _data:String, _bubbles:Boolean = false, _cancelable:Boolean = false)
Constructor. | NativeCameraDriverEvent |
bitmapData | property |
bitmapData:BitmapData
Determines the frame's pixel data for NativeCameraDriverEvent.FRAME_READY.
public function get bitmapData():BitmapData
public function set bitmapData(value:BitmapData):void
CAMERA_STARTED | property |
public static var CAMERA_STARTED:String = CAMERA_STARTED
The camera preview has started.
data | property |
data:String
[read-only] public function get data():String
FRAME_READY | property |
public static var FRAME_READY:String = FRAME_READY
A frame is ready to be read from the camera. Read the event's bitmapData, frameWidth and frameHeight properties to get the frame.
frameHeight | property |
frameHeight:Number
Determines the frame height for NativeCameraDriverEvent.FRAME_READY.
public function get frameHeight():Number
public function set frameHeight(value:Number):void
frameWidth | property |
frameWidth:Number
Determines the frame width for NativeCameraDriverEvent.FRAME_READY.
public function get frameWidth():Number
public function set frameWidth(value:Number):void
message | property |
message:String
[read-only] Gives you information on the camera status.
public function get message():String
STATUS_EVENT | property |
public static var STATUS_EVENT:String = STATUS_EVENT
The camera has updated its status. Read the event's message property to get status information.
NativeCameraDriverEvent | () | Constructor |
public function NativeCameraDriverEvent(_type:String, _message:String, _data:String, _bubbles:Boolean = false, _cancelable:Boolean = false)
Constructor.
Parameters_type:String | |
_message:String | |
_data:String | |
_bubbles:Boolean (default = false )
| |
_cancelable:Boolean (default = false )
|