Gphoto2::Camera Class Reference

This represents an MTP device. More...

Collaboration diagram for Gphoto2::Camera:

Collaboration graph
[legend]

Public Member Functions

void Connect ()
 Connect to the device.
void Disconnect ()
 Disconnect from the device.
void Dispose ()
 Disposes of the device.
void Reconnect ()
 Disconnects from the device, then reconnects again.

Static Public Member Functions

static List< CameraDetect ()
 Detects all usable cameras which are connected to the system.

Static Public Attributes

static char DirectorySeperator = '/'

Properties

Abilities Abilities [get]
bool Connected [get]
bool Disposed [get]
List< FileSystemFileSystems [get]
string MusicFolder [get]
string PlaylistFolder [get]
string PhotoFolder [get]
string Name [get]
int Product [get]
int UsbBusNumber [get]
int UsbDeviceNumber [get]
int Vendor [get]

Detailed Description

This represents an MTP device.


Member Function Documentation

void Gphoto2::Camera::Connect (  )  [inline]

Connect to the device.

void Gphoto2::Camera::Disconnect (  )  [inline]

Disconnect from the device.

static List<Camera> Gphoto2::Camera::Detect (  )  [inline, static]

Detects all usable cameras which are connected to the system.

Returns:
A list containing all cameras which can be connected to

void Gphoto2::Camera::Dispose (  )  [inline]

Disposes of the device.

void Gphoto2::Camera::Reconnect (  )  [inline]

Disconnects from the device, then reconnects again.


Property Documentation

Abilities Gphoto2::Camera::Abilities [get]

The functions which the camera supports

bool Gphoto2::Camera::Connected [get]

True if the device has been connected to

bool Gphoto2::Camera::Disposed [get]

True if the device has been disposed

List<FileSystem> Gphoto2::Camera::FileSystems [get]

The list of all filesystems on the device

string Gphoto2::Camera::Name [get]

The name of the device

int Gphoto2::Camera::Product [get]

The product id of the device

int Gphoto2::Camera::UsbBusNumber [get]

The number of the UsbBus that the device is connected to

int Gphoto2::Camera::UsbDeviceNumber [get]

The number of the UsbPort that the device is connected to

int Gphoto2::Camera::Vendor [get]

The vendor ID for the device


The documentation for this class was generated from the following file:

Generated on Mon Feb 16 00:15:19 2009 for libgphoto2 Mono/.NET bindings (libgphoto2-sharp) API by  doxygen 1.5.5