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. | |
void | cancel () |
Cancel watcher. |
"@songbirdnest.com/Songbird/Library/MediaItemWatcher;1"
Definition at line 56 of file sbIMediaItemWatcher.idl.
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. |