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

Inheritance diagram for sbIMediaItemWatcher:
[legend]
Collaboration diagram for sbIMediaItemWatcher:
[legend]

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...
 

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::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.

Parameters
aMediaItemMedia item to watch.
aListenerListener to call when changes occur.
aPropertyIDsList of properties for which to listen for changes.

The documentation for this interface was generated from the following file: