Package | com.distriqt.extension.camera.events |
Class | public class CameraCaptureEvent |
Inheritance | CameraCaptureEvent flash.events.Event |
Property | Defined By | ||
---|---|---|---|
error : String = null
The error (if any) associated with this event
| CameraCaptureEvent |
Method | Defined By | ||
---|---|---|---|
CameraCaptureEvent(type:String, error:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
| CameraCaptureEvent | ||
clone():Event [override] | CameraCaptureEvent |
Constant | Defined 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 |
error | property |
public var error:String = null
The error (if any) associated with this event
CameraCaptureEvent | () | Constructor |
public function CameraCaptureEvent(type:String, error:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
Parameterstype:String | |
error:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
clone | () | method |
override public function clone():Event
ReturnsEvent |
COMPLETE | Constant |
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
ERROR | Constant |
public static const ERROR:String = image:capture:error
Dispatched when there was an error capturing an image from the user camera.
IMAGE_SAVE_COMPLETE | Constant |
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_ERROR | Constant |
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.