Class

GUPnPRootDevice

Description [src]

class GUPnP.RootDevice : GUPnP.Device {
  parent_instance: GUPnPDevice
}

Implementation of an UPnP root device.

GUPnPRootDevice allows for implementing root devices.

Ancestors

Implements

  • GInitable

Constructors

gupnp_root_device_new

Create a new GUPnPRootDevice object, automatically loading and parsing device description document from description_path.

gupnp_root_device_new_full

Create a new GUPnPRootDevice, automatically loading and parsing device description document from description_path if description_doc is NULL.

Instance methods

gupnp_root_device_get_available

Checks whether root_device is available on the network (announcing its presence).

gupnp_root_device_get_description_dir

Gets the path to the directory containing description documents related to root_device.

gupnp_root_device_get_description_document_name

Gets the name of the description document as hosted via HTTP.

gupnp_root_device_get_description_path

Gets the path to the device description document of root_device.

gupnp_root_device_get_ssdp_resource_group

Gets the GSSDPResourceGroup used by root_device.

Available since: 0.20.0

gupnp_root_device_set_available

Sets the availability of root_device on the network (announcing its presence).

Methods inherited from GUPnPDeviceInfo (28)
gupnp_device_info_get_context

Get the associated GUPnPContext.

gupnp_device_info_get_description_value

This function provides generic access to the contents of arbitrary elements in the device description file.

Available since: 0.14.0

gupnp_device_info_get_device

Get the device with type type directly contained in info as a new object implementing GUPnPDeviceInfo, or NULL if no such device was found. The returned object should be unreffed when done.

gupnp_device_info_get_device_type

Get the UPnP device type of this GUPnPDeviceInfo, e.g. urn:schemas-upnp-org:device:InternetGatewayDevice:1

gupnp_device_info_get_friendly_name

Get the friendly name of the device.

gupnp_device_info_get_icon_async

Download the device icon matching the request parameters. For details on the lookup procedure, see gupnp_device_info_get_icon_url()

gupnp_device_info_get_icon_finish
No description available.
gupnp_device_info_get_icon_url

Get an URL pointing to the icon most closely matching the given criteria, or NULL.

gupnp_device_info_get_location

Get the URL of the device file.

gupnp_device_info_get_manufacturer

Get the manufacturer of the device.

gupnp_device_info_get_manufacturer_url

Get an URL pointing to the manufacturer’s website.

gupnp_device_info_get_model_description

Get the description of the device model.

gupnp_device_info_get_model_name

Get the model name of the device.

gupnp_device_info_get_model_number

Get the model number of the device.

gupnp_device_info_get_model_url

Get an URL pointing to the device model’s website.

gupnp_device_info_get_presentation_url

Get an URL pointing to the device’s presentation page, for web-based administration, if available.

gupnp_device_info_get_resource_factory

Get the GUPnPResourceFactory used by the device_info.

gupnp_device_info_get_serial_number

Get the serial number of the device.

gupnp_device_info_get_service

Get the service with type type directly contained in info as a new object implementing GUPnPServiceInfo, or NULL if no such device was found.

gupnp_device_info_get_udn

Get the Unique Device Name of the device.

gupnp_device_info_get_upc

Get the Universal Product Code of the device.

gupnp_device_info_get_url_base

Get the URL base of this device.

gupnp_device_info_list_device_types

Get a GList of strings representing the types of the devices directly contained in info.

Properties

GUPnP.RootDevice:available

TRUE if this device is available.

GUPnP.RootDevice:description-dir

The path to a folder where description documents are provided.

GUPnP.RootDevice:description-path

The path to device description document. This could either be an absolute path or path relative to GUPnPRootDevice:description-dir.

Available since: 0.13.0

Properties inherited from GUPnPDevice (1)
GUPnP.Device:root-device

The containing GUPnPRootDevice, or NULL if this is the root device.

Properties inherited from GUPnPDeviceInfo (8)
GUPnP.DeviceInfo:context

The GUPnPContext to use.

GUPnP.DeviceInfo:device-type

The device type, e.g. urn:schemas-upnp-org:device:InternetGatewayDevice:1

GUPnP.DeviceInfo:document

The description document.

GUPnP.DeviceInfo:element

Private property.

GUPnP.DeviceInfo:location

The location of the device description file.

GUPnP.DeviceInfo:resource-factory

The resource factory to use. Set to NULL for default factory.

GUPnP.DeviceInfo:udn

The UDN of this device.

GUPnP.DeviceInfo:url-base

The URL base (GUri).

Class structure

struct GUPnPRootDeviceClass {
  GUPnPDeviceClass parent_class;
  void (* _gupnp_reserved1) (
void
  );
  void (* _gupnp_reserved2) (
void
  );
  void (* _gupnp_reserved3) (
void
  );
  void (* _gupnp_reserved4) (
void
  );
  
}
Class members
parent_class
GUPnPDeviceClass
  No description available.
_gupnp_reserved1
void (* _gupnp_reserved1) (
void
  )
  No description available.
_gupnp_reserved2
void (* _gupnp_reserved2) (
void
  )
  No description available.
_gupnp_reserved3
void (* _gupnp_reserved3) (
void
  )
  No description available.
_gupnp_reserved4
void (* _gupnp_reserved4) (
void
  )
  No description available.