Class
GUPnPDeviceInfo
Description [src]
abstract class GUPnP.DeviceInfo : GObject.Object
{
/* No available fields */
}
Device information shared by local and remote devices
This class aggregates the information that is shared between remote and local devices.
Instance methods
gupnp_device_info_get_description_value
This function provides generic access to the contents of arbitrary elements in the device description file.
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_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_url
Get an URL pointing to the icon most closely matching the
given criteria, or NULL
.
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_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_list_device_types
Get a GList
of strings representing the types of the devices
directly contained in info
.
gupnp_device_info_list_devices
Get a GList
of new objects implementing GUPnPDeviceInfo
representing the devices directly contained in info
, excluding itself.
gupnp_device_info_list_dlna_capabilities
Get a GList
of strings that represent the device capabilities as announced
in the device description file using the <dlna:X_DLNACAP> element.
since: 0.14.0
gupnp_device_info_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, e.g. DMS-1.51
, M-DMS-1.51
and so on.
since: 0.20.4
gupnp_device_info_list_service_types
Get a GList
of strings representing the types of the services
directly contained in info
, but not in its subdevices.
gupnp_device_info_list_services
Get a GList
of new objects implementing GUPnPServiceInfo
representing the
services directly contained in info
. The returned list should be
g_list_free()’d and the elements should be g_object_unref()’d.
Properties
GUPnP.DeviceInfo:device-type
The device type, e.g. urn:schemas-upnp-org:device:InternetGatewayDevice:1
.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct GUPnPDeviceInfoClass {
GObjectClass parent_class;
xmlNode* (* get_element) (
GUPnPDeviceInfo* info
);
GUPnPDeviceInfo* (* create_device_instance) (
GUPnPDeviceInfo* info,
xmlNode* element
);
GUPnPServiceInfo* (* create_service_instance) (
GUPnPDeviceInfo* info,
xmlNode* element
);
void (* _gupnp_reserved1) (
void
);
void (* _gupnp_reserved2) (
void
);
void (* _gupnp_reserved3) (
void
);
void (* _gupnp_reserved4) (
void
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
get_element: xmlNode* (* get_element) ( GUPnPDeviceInfo* info )
No description available.
create_device_instance: GUPnPDeviceInfo* (* create_device_instance) ( GUPnPDeviceInfo* info, xmlNode* element )
No description available.
create_service_instance: GUPnPServiceInfo* (* create_service_instance) ( GUPnPDeviceInfo* info, xmlNode* element )
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.