WritableContainer
Object Hierarchy:
Description:
public interface WritableContainer :
MediaContainer
This interface should be implemented by 'writable' containers - ones that allow adding (via upload), removal and editing of items
directly under them. Currently, only addition and removal are supported.
In addition to implementing this interface, a writable container must also:
- Provide one URI that points to a writable folder on a GIO-supported filesystem.
- Monitor not only its own URI but also that of its child items, though the latter is implied in the former if you use GIO for
monitoring.
Content:
Constants:
Properties:
Methods:
- public bool can_create (string upnp_class)
Check if this container can contain an item with the given upnp class,
meaning that rygel_writable_container_add_item() should succeed.
- public abstract async void add_item (MediaFileItem item, Cancellable? cancellable) throws Error
Add a new item directly under this container.
- public abstract async void add_container (MediaContainer container, Cancellable? cancellable) throws Error
Add a new container directly under this container.
- public virtual async string add_reference (MediaObject object, Cancellable? cancellable) throws Error
Add a reference to an object.
- public abstract async void remove_item (string id, Cancellable? cancellable) throws Error
Remove an item directly under this container that has the ID @id.
- public abstract async void remove_container (string id, Cancellable? cancellable) throws Error
Remove a container directly under this container that has the ID @id.
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
- new_valist
- newv
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- freeze_notify
- @get
- get_class
- get_data
- get_property
- get_qdata
- get_type
- 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
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
- notify
- ref_count