# class Camera

###

Module | solid
Namespace | Solid
Class | Camera
Inherits | Solid::DeviceInterface

This device interface is available on digital camera devices.

A digital camera is a device used to transform images into data. Nowaday most digital cameras are multifunctional and able to take photographs, video or sound. On the system side they are a particular type of device holding data, the access method can be different from the typical storage device, hence why it's a separate device interface.

### methods

- Camera (backendObject)

  returns ctor
  Not implemented
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  backendObject | QObject |

  Creates a new Camera object. You generally won't need this. It's created when necessary using Device.as().

  backendObject - the device interface object provided by the backend

  See also Solid.Device.as()

- Camera (a0)

  returns ctor
  Not implemented
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QObject |

- deviceInterfaceType ( )

  returns Solid::DeviceInterface.Type
  static

  Get the Solid.DeviceInterface.Type of the Camera device interface.

  Returns the Camera device interface type

  See also Solid.DeviceInterface.Type

- driverHandle (driver)

  returns QVariant

  Argument | Type | Default
  --- | --- | ---
  driver | QString |

  Retrieves a driver specific string allowing to access the device.

  For example for the "gphoto" driver it will return a list of the form '("usb", vendor_id, product_id)'.

  Returns the driver specific data

- supportedDrivers (protocol)

  returns QStringList

  Argument | Type | Default
  --- | --- | ---
  protocol | QString | QString()

  Retrieves known installed device drivers that claim to handle this device using the requested protocol. If protocol is blank, returns a list of all drivers supporting the device.

  protocol - The protocol to get drivers for. Returns a list of installed drivers meeting the criteria

- supportedProtocols ( )

  returns QStringList

  Retrieves known protocols this device can speak. This list may be dependent on installed device driver libraries.

  Returns a list of known protocols this device can speak