sbILibraryChange Interface Reference

import"sbILibraryChangeset.idl";

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

Public Attributes

readonly attribute unsigned
long long 
timestamp
 
readonly attribute sbIMediaItem sourceItem
 
readonly attribute sbIMediaItem destinationItem
 
readonly attribute boolean itemIsList
 
readonly attribute nsIArray listItems
 
readonly attribute nsIArray properties
 
- Public Attributes inherited from sbIChangeOperation
const unsigned long UNKNOWN = 0
 
const unsigned long ADDED = 0x10
 
const unsigned long MODIFIED = 0x20
 
const unsigned long MOVED = 0x30
 
const unsigned long DELETED = 0x40
 
readonly attribute unsigned long operation
 

Detailed Description

Member Data Documentation

readonly attribute sbIMediaItem sbILibraryChange::destinationItem

The destination item that should recieve the change.

The destination item may be the same as the source item.

In the case where the sourceItem was added; the destinationItem will be the same as the sourceItem.

Definition at line 135 of file sbILibraryChangeset.idl.

readonly attribute boolean sbILibraryChange::itemIsList

Indicates if the item changed is a list.

If this attribute is true, the item will implement sbIMediaList.

See Also
sbIMediaList

Definition at line 145 of file sbILibraryChangeset.idl.

readonly attribute nsIArray sbILibraryChange::listItems

If itemIsList is true, this will be an array of sbIMediaItem that should be the contents of the list (unless this is a DELETED change).

Each item may either be an item already present in the destination library, or it may be an item present in the source library that is being added to the destination library by an earlier entry in the sbILibraryChangeset.

Definition at line 155 of file sbILibraryChangeset.idl.

readonly attribute nsIArray sbILibraryChange::properties

The item properties affected by the change.

This is an array of sbIPropertyChange elements.

Note
This may be null if the item in question was deleted.

Definition at line 165 of file sbILibraryChangeset.idl.

readonly attribute sbIMediaItem sbILibraryChange::sourceItem

The source item that triggered the change.

In the case where the sourceItem was added; the destinationItem will be the same as the sourceItem.

Definition at line 123 of file sbILibraryChangeset.idl.

readonly attribute unsigned long long sbILibraryChange::timestamp

Timestamp for the change.

This is a UNIX style timestamp.

Definition at line 114 of file sbILibraryChangeset.idl.


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