TrackableContainer
Object Hierarchy:
Description:
public interface TrackableContainer :
MediaContainer
The base class for containers that provide automatic change tracking.
Derived classes should implement the add_child() and remove_child() virtual functions to keep track of child items and child containers.
Rygel server plugins (See #RygelMediaServer) may then call rygel_trackable_container_add_child_tracked() and
rygel_trackable_container_remove_child_tracked() to add and remove items, which will then cause the #RygelContainer::container_updated
signal to be emitted.
Content:
Methods:
- public async void clear ()
- protected abstract async void add_child (MediaObject object)
Derived classes should implement this, keeping track of the child item
or child container. See the remove_child() virtual function.
- public async void add_child_tracked (MediaObject object)
Add a child object, emitting the #RygelContainer::container_updated
signal with the object.
- protected abstract async void remove_child (MediaObject object)
Derived classes should implement this, removing the child item or
child container from its set of objects. See the add_child() virtual function.
- public async void remove_child_tracked (MediaObject object)
Add a child object, emitting the #RygelContainer::container_updated
signal with the object.
- public virtual string get_service_reset_token ()
Used to query the (persisted) service reset token from the plug-in.
- public virtual void set_service_reset_token (string token)
Set a new service reset token.
- public virtual uint32 get_system_update_id ()
Query the current system update ID, used for the UPnP
GetSystemUpdateID implementation.
Signals:
Inherited Members:
All known members inherited from class Rygel.MediaContainer
All known members inherited from class Rygel.MediaObject
All known members inherited from class GLib.Object
- interface_find_property
- interface_install_property
- interface_list_properties
- @new
- new_valist
- newv
- new_with_properties
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- @get
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- is_floating
- notify_property
- @ref
- ref_sink
- replace_data
- replace_qdata
- remove_toggle_ref
- remove_weak_pointer
- @set
- 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
- notify
- ref_count