WritableContainer
Object Hierarchy:
Description:
public interface WritableContainer :
MediaContainer
Interface to be implemented by 'writable' container: ones that allow creation, 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:
1. Provide one URI that points to a writable folder on a GIO supported filesystem. 2. Monitor not only it's own URI but also that of it's
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 claims to be able to create an item with the
given upnp class.
- 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.