SimpleContainer
Object Hierarchy:
Description:
public class SimpleContainer :
MediaContainer,
SearchableContainer
A simple implementation of RygelMediaContainer that keeps all RygelMediaObjects in memory. You should add children via
rygel_simple_container_add_child_item().
Content:
Properties:
Creation methods:
Methods:
- public void add_child_item (MediaItem child)
Adds an item to the container.
- public MediaObjects get_all_children ()
Get all children, including the empty children.
- public void add_child_container (MediaContainer child)
Adds a child container to this container.
- public void remove_child (MediaObject child)
Removes the item from the container.
- public void clear ()
Removes all child items and child containers from the container.
- public
bool
is_child_id_unique (string
child_id)
Check that the ID is unique within this container.
- public override async MediaObjects? get_children (
uint
offset, uint
max_count, string
sort_criteria, Cancellable
? cancellable) throws Error
- public override async MediaObject? find_object (
string
id, Cancellable
? cancellable) throws Error
- public async MediaObjects? search (SearchExpression? expression,
uint
offset, uint
max_count, out uint
total_matches, string
sort_criteria, Cancellable
? cancellable) throws Error
Fields:
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
- @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
All known members inherited from interface Rygel.SearchableContainer