C# Class BlackBerry.Camera

Inheritance: IDisposable
Show file Open project: roblillack/monoberry Class Usage Examples

Public Methods

Method Description
Camera ( Unit unit, Mode mode ) : System
Dispose ( ) : void
HandleError ( Error e ) : void
TakePhoto ( ) : void

Private Methods

Method Description
_camera_set_photovf_property ( IntPtr handle, ImageProperty property, string &value, ImageProperty end ) : Error
camera_close ( IntPtr handle ) : Error
camera_open ( Unit unit, Mode mode, IntPtr &handle ) : Error
camera_start_photo_viewfinder ( IntPtr handle, IntPtr viewfinderCallback, IntPtr statusCallback, IntPtr arg ) : Error
camera_take_photo ( IntPtr handle, IntPtr shutterCallback, IntPtr rawCallback, IntPtr postViewCallback, IntPtr imageCallback, IntPtr arg, bool wait ) : Error

Method Details

Camera() public method

public Camera ( Unit unit, Mode mode ) : System
unit Unit
mode Mode
return System

Dispose() public method

public Dispose ( ) : void
return void

HandleError() public static method

public static HandleError ( Error e ) : void
e Error
return void

TakePhoto() public method

public TakePhoto ( ) : void
return void