Rygel.MediaServerPlugin – librygel-server – Vala Binding Reference

Rygel.MediaServerPlugin – librygel-server Reference Manual

# MediaServerPlugin

## Object Hierarchy:

## Description:

public abstract class MediaServerPlugin : `Plugin`

This is the base class for every Rygel implementation of a UPnP media server. It should be used either for a real plug-in for the Rygel process or used in-process via the librygel-server API.

Namespace: Rygel
Package: librygel-server

## Content:

### Properties:

- public MediaContainer root_container { get; }

### Creation methods:

- public MediaServerPlugin (MediaContainer root_container, `string` name, `string`? description = null, `PluginCapabilities` capabilities = `NONE`)
  Create an instance of the plugin. The plugin's service will have the same title as its root container.

### Methods:

- public override void apply_hacks (`RootDevice` device, `string` description_path) throws `Error`

### Inherited Members:

All known members inherited from class Rygel.Plugin

- active
- capabilities
- default_icons
- desc_path

- description
- icon_infos
- name
- resource_infos

- title
- add_icon
- add_resource
- apply_hacks

All known members inherited from class GUPnP.ResourceFactory

- get_default
- register_resource_proxy_type

- register_resource_type
- unregister_resource_proxy_type

- unregister_resource_type

All known members inherited from class GLib.Object

- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer

- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata

- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count