|  |  |  | librygel-core Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
| RygelMediaDeviceRygelMediaDevice — This is a base class for implementations of UPnP devices, such as RygelMediaServer and RygelMediaRenderer. | 
#define RYGEL_TYPE_MEDIA_DEVICE void rygel_media_device_add_interface (RygelMediaDevice *self,const gchar *iface); void rygel_media_device_remove_interface (RygelMediaDevice *self,const gchar *iface); GList * rygel_media_device_get_interfaces (RygelMediaDevice *self); RygelPlugin * rygel_media_device_get_plugin (RygelMediaDevice *self); void rygel_media_device_set_plugin (RygelMediaDevice *self,RygelPlugin *value); const gchar * rygel_media_device_get_title (RygelMediaDevice *self); RygelPluginCapabilities rygel_media_device_get_capabilities (RygelMediaDevice *self); struct RygelMediaDevice; struct RygelMediaDeviceClass;
"capabilities" RygelPluginCapabilities : Read / Write / Construct Only "plugin" RygelPlugin* : Read / Write / Construct "title" gchar* : Read / Write / Construct Only
Use rygel_media_device_add_interface() to allow this device to respond to UPnP messages on a network interface.
#define RYGEL_TYPE_MEDIA_DEVICE (rygel_media_device_get_type ())
The type for RygelMediaDevice.
void rygel_media_device_add_interface (RygelMediaDevice *self,const gchar *iface);
Add a network interface the device should listen on.
If the network interface is not already up, it will be used as soon as it's ready. Otherwise it's used right away.
| 
 | the RygelMediaDevice instance | 
| 
 | Name of the network interface, e.g. eth0. [in] | 
void rygel_media_device_remove_interface (RygelMediaDevice *self,const gchar *iface);
Remove a previously added network interface from the device.
| 
 | the RygelMediaDevice instance | 
| 
 | Name of the network interface, e.g. eth0. [in] | 
GList *             rygel_media_device_get_interfaces   (RygelMediaDevice *self);
Get a list of the network interfaces the device is currently allowed to use.
| 
 | the RygelMediaDevice instance | 
| Returns : | list of interface names. | 
RygelPlugin *       rygel_media_device_get_plugin       (RygelMediaDevice *self);
Get and return the current value of the "plugin" property.
| 
 | the RygelMediaDevice instance to query | 
| Returns : | the value of the "plugin" property | 
void rygel_media_device_set_plugin (RygelMediaDevice *self,RygelPlugin *value);
Set the value of the "plugin" property to value.
| 
 | the RygelMediaDevice instance to modify | 
| 
 | the new value of the "plugin" property | 
const gchar *       rygel_media_device_get_title        (RygelMediaDevice *self);
Get and return the current value of the "title" property.
| 
 | the RygelMediaDevice instance to query | 
| Returns : | the value of the "title" property | 
RygelPluginCapabilities rygel_media_device_get_capabilities
                                                        (RygelMediaDevice *self);
Get and return the current value of the "capabilities" property.
| 
 | the RygelMediaDevice instance to query | 
| Returns : | the value of the "capabilities" property | 
struct RygelMediaDevice;
This is a base class for implementations of UPnP devices, such as RygelMediaServer and RygelMediaRenderer.
Use rygel_media_device_add_interface() to allow this device to respond to UPnP messages on a network interface.
struct RygelMediaDeviceClass {
	GObjectClass parent_class;
};
The class structure for RYGEL_TYPE_MEDIA_DEVICE. All the fields in this structure are private and should never be accessed directly.
"capabilities" property"capabilities" RygelPluginCapabilities : Read / Write / Construct Only
capabilities.