Songbird / Development / Songbird Add-Ons API Documentation

sbIMediaItemWatcher Interface Reference

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";

List of all members.

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.
void cancel ()
 Cancel watcher.


Detailed Description

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"

See also:
sbIMediaItemListener

Definition at line 56 of file sbIMediaItemWatcher.idl.


Member Function Documentation

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.

Parameters:
aMediaItem Media item to watch.
aListener Listener to call when changes occur.
aPropertyIDs List of properties for which to listen for changes.


The documentation for this interface was generated from the following file:
Generated on Tue Mar 10 14:29:00 2009 for Songbird by  doxygen 1.5.2