Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
Camera

Package | org.apache.cordova.camera
Class | public class Camera
Inheritance | Camera Object

Public Properties

| Property | Defined By
--- | --- | ---
|  | destinationType : int | Camera
|  | DestinationType : Object [static] | Camera
|  | direction : int | Camera
|  | Direction : Object [static] | Camera
|  | encodingType : int | Camera
|  | EncodingType : Object [static] | Camera
|  | mediaType : int | Camera
|  | MediaType : Object [static] | Camera
|  | pictureSourceType : int | Camera
|  | PictureSourceType : Object [static] | Camera

Public Methods

| Method | Defined By
--- | --- | ---
|  | Camera() | Camera
|  | cleanup(cameraSuccess:Function, cameraError:Function):void | Camera
|  | getPicture(cameraSuccess:Function, cameraError:Function, cameraOptions:Object):void | Camera
|  | init(r:DisplayObjectContainer):void [static] | Camera

Property Detail

destinationType | property

`public var destinationType:int`

DestinationType | property |

`public static var DestinationType:Object`

direction | property |

`public var direction:int`

Direction | property |

`public static var Direction:Object`

encodingType | property |

`public var encodingType:int`

EncodingType | property |

`public static var EncodingType:Object`

mediaType | property |

`public var mediaType:int`

MediaType | property |

`public static var MediaType:Object`

pictureSourceType | property |

`public var pictureSourceType:int`

PictureSourceType | property |

`public static var PictureSourceType:Object`

Constructor Detail

Camera | () | Constructor

`public function Camera()`

Method Detail

cleanup | () | method

`public function cleanup(cameraSuccess:Function, cameraError:Function):void`

Parameters

| `cameraSuccess:Function`
| `cameraError:Function`

getPicture | () | method |

`public function getPicture(cameraSuccess:Function, cameraError:Function, cameraOptions:Object):void`

Parameters

| `cameraSuccess:Function`
| `cameraError:Function`
| `cameraOptions:Object`

init | () | method |

`public static function init(r:DisplayObjectContainer):void`

Parameters

| `r:DisplayObjectContainer`

Mon Sep 5 2016, 07:19 AM -07:00