DeviceInfo
Object Hierarchy:
Description:
[ CCode ( type_id = "gupnp_device_info_get_type ()" ) ]
public abstract class DeviceInfo : Object
This struct contains private data only, and should be accessed using the functions below.
Content:
Properties:
Creation methods:
Methods:
- public unowned Context get_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, or null
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 ()
- 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, or null
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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref