MediaContainer
Object Hierarchy:
Description:
public abstract class MediaContainer :
MediaObject
Represents a container (folder) for media items and containers. Provides basic serialization (to DIDLLiteWriter) implementation. Deriving
classes are supposed to provide working implementations of get_children.
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 for media object with the given id in this
container.
- public void updated ()
Method to be be called each time this container is updated
(metadata changes for this container, items under it gets removed/added or their metadata changes etc).
Signals:
Fields: