# class DvbInterface

###

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

This device interface is available on Digital Video Broadcast (DVB) devices.

A DVB device is a device implementing the open standards for digital television maintained by the DVB Project It is possible to interact with such a device using a special device file in the system.

### enums

- DeviceType { DvbUnknown, DvbAudio, DvbCa, DvbDemux, DvbDvr, DvbFrontend, DvbNet, DvbOsd, DvbSec, DvbVideo }

enum details

### methods

- DvbInterface (backendObject)

  returns ctor
  Not implemented
  KDE 4.1.0 and later only

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

  Creates a new DvbInterface 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()

- DvbInterface (a0)

  returns ctor
  Not implemented
  before KDE 4.1.0 only

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

- device ( )

  returns QString

  Retrieves the absolute path of the special file to interact with the device.

  Returns the absolute path of the special file to interact with the device

- deviceAdapter ( )

  returns int

  Retrieves the adapter number of this dvb device. Note that -1 is returned in the case the adapter couldn't be determined.

  Returns the adapter number of this dvb device or -1

- deviceIndex ( )

  returns int

  Retrieves the index of this dvb device. Note that -1 is returned in the case the device couldn't be identified (deviceType() == DvbUnknown).

  Returns the index of this dvb device or -1

  See also Solid.DvbInterface.deviceType

- deviceInterfaceType ( )

  returns Solid::DeviceInterface.Type
  static

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

  Returns the DvbInterface device interface type

  See also Solid.Ifaces.Enums.DeviceInterface.Type

- deviceType ( )

  returns Solid::DvbInterface.DeviceType

  Retrieves the type of this dvb device.

  Returns the device type of this dvb device

  See also Solid.DvbInterface.DeviceType

### enums - detail

- DeviceType { DvbUnknown, DvbAudio, DvbCa, DvbDemux, DvbDvr, DvbFrontend, DvbNet, DvbOsd, DvbSec, DvbVideo }

  This enum type defines the type of a dvb device.

  - DvbAudio : An audio device. - DvbCa : A common access device. - DvbDemux : A demultiplexer device. - DvbDvr : A dvr device. - DvbFrontend : A frontend device. - DvbNet : A network device. - DvbOsd : An osd device. - DvbSec : A sec device. - DvbVideo : A video device. - DvbUnknown : An unidentified device.

  | DvbUnknown | - | - |
  | DvbAudio | - | - |
  | DvbCa | - | - |
  | DvbDemux | - | - |
  | DvbDvr | - | - |
  | DvbFrontend | - | - |
  | DvbNet | - | - |
  | DvbOsd | - | - |
  | DvbSec | - | - |
  | DvbVideo | - | - |