Interface for the media item watcher. The media item watcher may be used to watch for changes to a specific media item. Instantiate as a component instance. More...
import"sbIMediaItemWatcher.idl";
Public Member Functions | |
void | watch (in sbIMediaItem aMediaItem, in sbIMediaItemListener aListener, [optional] in sbIPropertyArray aPropertyIDs) |
Watch for changes to the media item specified by aMediaItem and call the listener specified by aListener when any changes occur. If aPropertyIDs is specified, only watch for changes to the specified properties. More... | |
void | cancel () |
Cancel watcher. More... | |
Interface for the media item watcher. The media item watcher may be used to watch for changes to a specific media item. Instantiate as a component instance.
"@songbirdnest.com/Songbird/Library/MediaItemWatcher;1"
Definition at line 56 of file sbIMediaItemWatcher.idl.
void sbIMediaItemWatcher::cancel | ( | ) |
Cancel watcher.
void sbIMediaItemWatcher::watch | ( | in sbIMediaItem | aMediaItem, |
in sbIMediaItemListener | aListener, | ||
[optional] in sbIPropertyArray | aPropertyIDs | ||
) |
Watch for changes to the media item specified by aMediaItem and call the listener specified by aListener when any changes occur. If aPropertyIDs is specified, only watch for changes to the specified properties.
aMediaItem | Media item to watch. |
aListener | Listener to call when changes occur. |
aPropertyIDs | List of properties for which to listen for changes. |