DeviceInfo
Object Hierarchy:
Description:
This struct contains private data only, and should be accessed using the functions below.
All known sub-classes:
Namespace: GUPnP
Package: gupnp-1.0
Content:
Properties:
- public Context context { get; construct; }
The Context to use.
- public string device_type { get; construct; }
The device type.
- public string location { get; construct; }
The location of the device description file.
- public ResourceFactory resource_factory { get; construct; }
The resource factory to use.
- public string udn { get; construct; }
The UDN of this device.
- public URI url_base { get; construct; }
The URL base (#SoupURI).
Creation methods:
- protected DeviceInfo ()
Methods:
- public unowned Context get_context ()
Get the associated Context.
- public string get_description_value (string element)
This function provides generic access to the contents of arbitrary elements in the device description file.
- public DeviceInfo? get_device (string type)
Get the service with type
type
directly contained in this as a new object implementing DeviceInfo, ornull
if no such device was found. - public unowned string get_device_type ()
Get the UPnP device type.
- public string get_friendly_name ()
Get the friendly name of the device.
- public string get_icon_url (string? requested_mime_type, int requested_depth, int requested_width, int requested_height, bool prefer_bigger, out string mime_type, out int depth, out int width, out int height)
Get a URL pointing to the icon most closely matching the given criteria, or
null
. - public unowned string get_location ()
Get the location of the device description file.
- public string get_manufacturer ()
Get the manufacturer of the device.
- public string get_manufacturer_url ()
Get a URL pointing to the manufacturer's website.
- public string get_model_description ()
Get the description of the device model.
- public string get_model_name ()
Get the model name of the device.
- public string get_model_number ()
Get the model number of the device.
- public string get_model_url ()
Get a URL pointing to the device model's website.
- public string get_presentation_url ()
Get a URL pointing to the device's presentation page, for web-based administration.
- public unowned ResourceFactory get_resource_factory ()
Get the ResourceFactory used by the this.
- public string get_serial_number ()
Get the serial number of the device.
- public ServiceInfo? get_service (string type)
Get the service with type
type
directly contained in this as a new object implementing ServiceInfo, ornull
if no such device was found. - public unowned string get_udn ()
Get the Unique Device Name of the device.
- public string get_upc ()
Get the Universal Product Code of the device.
- public unowned URI get_url_base ()
Get the URL base of this device.
- public List<string> list_device_types ()
Get a List of strings representing the types of the devices directly contained in this.
- public List<DeviceInfo> list_devices ()
Get a List of new objects implementing DeviceInfo representing the devices directly contained in this.
- public List<string> list_dlna_capabilities ()
Get a List of strings that represent the device capabilities as announced in the device description file using the <dlna:X_DLNACAP> element.
- public List<string> list_dlna_device_class_identifier ()
Get a List of strings that represent the device class and version as announced in the device description file using the <dlna:X_DLNADOC> element.
- public List<string> list_service_types ()
Get a List of strings representing the types of the services directly contained in this.
- public List<ServiceInfo> list_services ()
Get a List of new objects implementing ServiceInfo representing the services directly contained in this.
Inherited Members:
All known members inherited from class GLib.Object