Packagecom.distriqt.extension.camera.events
Classpublic class CameraCaptureEvent
InheritanceCameraCaptureEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  error : String = null
The error (if any) associated with this event
CameraCaptureEvent
Public Methods
 MethodDefined By
  
CameraCaptureEvent(type:String, error:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
CameraCaptureEvent
  
clone():Event
[override]
CameraCaptureEvent
Public Constants
 ConstantDefined By
  COMPLETE : String = image:capture:complete
[static] Dispatched when an image has been captured.
CameraCaptureEvent
  ERROR : String = image:capture:error
[static] Dispatched when there was an error capturing an image from the user camera.
CameraCaptureEvent
  IMAGE_SAVE_COMPLETE : String = image:save:complete
[static] Dispatched when the image captured is successfully saved to the user camera roll / gallery.
CameraCaptureEvent
  IMAGE_SAVE_ERROR : String = image:save:error
[static] Dispatched when the image capture has failed to save the captured image to the user camera roll / gallery.
CameraCaptureEvent
Property Detail
errorproperty
public var error:String = null

The error (if any) associated with this event

Constructor Detail
CameraCaptureEvent()Constructor
public function CameraCaptureEvent(type:String, error:String, bubbles:Boolean = false, cancelable:Boolean = false)

Constructor

Parameters
type:String
 
error:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
COMPLETEConstant
public static const COMPLETE:String = image:capture:complete

Dispatched when an image has been captured.

The data property will contain the bitmap data for the captured image.

See also

ERRORConstant 
public static const ERROR:String = image:capture:error

Dispatched when there was an error capturing an image from the user camera.

IMAGE_SAVE_COMPLETEConstant 
public static const IMAGE_SAVE_COMPLETE:String = image:save:complete

Dispatched when the image captured is successfully saved to the user camera roll / gallery.

The data of this event will contain a url to the asset.

IMAGE_SAVE_ERRORConstant 
public static const IMAGE_SAVE_ERROR:String = image:save:error

Dispatched when the image capture has failed to save the captured image to the user camera roll / gallery.

The data of this event will contain more details on the error.