content_changed


Description:

[ Version ( since = "0.2.0" ) ]
public signal void content_changed (GenericArray<Media> changed_medias, SourceChangeType change_type, bool location_unknown)

Signals that the content in the source has changed.

changed_medias is the list of elements that have changed. Usually these medias are of type Media container, meaning that the content of that container has changed.

If location_unknown is TRUE it means the source cannot establish where the change happened: could be either in the container, in any child, or in any other descendant of the container in the hierarchy.

Both change_type and location_unknown are applied to all elements in the list.

For the cases where the source can only signal that a change happened, but not where, it would use a list with the the root container ( NULL id) and set location_unknown as TRUE.

Parameters:

changed_medias

a GenericArray with the medias that changed or a common ancestor of them of type Media.

change_type

the kind of change that ocurred

location_unknown

TRUE if the change happened in media itself or in one of its direct children (when media is a Media). FALSE otherwise