MediaContainer
Object Hierarchy:
Description:
public abstract class MediaContainer :
MediaObject
This is a container (folder) for media items and child containers.
It provides a basic serialization implementation (to DIDLLiteWriter).
A derived class should provide a working implementation of get_children and should emit the container_updated signal.
Content:
Constants:
Properties:
Creation methods:
Methods:
- public abstract async MediaObjects? get_children (
uint
offset, uint
max_count, string
sort_criteria, Cancellable
? cancellable) throws Error
Fetches the list of media objects directly under this container.
- public abstract async MediaObject? find_object (
string
id, Cancellable
? cancellable) throws Error
Recursively searches this container for a media object with the
given ID.
- public void updated ()
This method should be called each time this container is updated.
Signals:
Fields: