WritableContainer
Object Hierarchy:
Description:
public interface WritableContainer :
MediaContainer
This interface should be implemented by 'writable' containers - ones that allow adding, removal and editing of items directly under them.
Currently, only addition and removal is 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.