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:
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 (MediaItem item,
Cancellable
? cancellable) throws Error
Add a new item directly under this container.
- public abstract async void remove_item (
string
id, Cancellable
? cancellable) throws Error
Remove an item 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
- 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