Public Member Functions

nsIAnnotationObserver Interface Reference

import "nsIAnnotationService.idl";

List of all members.

Public Member Functions

void onPageAnnotationSet (in nsIURI aPage, in AUTF8String aName)
 Called when an annotation value is set.
void onItemAnnotationSet (in long long aItemId, in AUTF8String aName)
void onPageAnnotationRemoved (in nsIURI aURI, in AUTF8String aName)
 Called when an annotation is deleted.
void onItemAnnotationRemoved (in long long aItemId, in AUTF8String aName)

Member Function Documentation

void nsIAnnotationObserver::onItemAnnotationRemoved ( in long long  aItemId,
in AUTF8String  aName 
)
void nsIAnnotationObserver::onItemAnnotationSet ( in long long  aItemId,
in AUTF8String  aName 
)
void nsIAnnotationObserver::onPageAnnotationRemoved ( in nsIURI  aURI,
in AUTF8String  aName 
)

Called when an annotation is deleted.

If aName is empty, then ALL annotations for the given URI have been deleted. This is not called when annotations are expired (normally happens when the app exits).

void nsIAnnotationObserver::onPageAnnotationSet ( in nsIURI  aPage,
in AUTF8String  aName 
)

Called when an annotation value is set.

It could be a new annotation, or it could be a new value for an existing annotation.


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