nsISupports
Last changed in Gecko 20.0 (Firefox 20.0 / Thunderbird 20.0 / SeaMonkey 2.17)void handleCompletion(in unsigned short reason); |
void handleError(in nsresult error); |
void handleResult(in nsIContentPref pref); |
Constant | Value | Description |
COMPLETE_OK |
0 |
|
COMPLETE_ERROR |
1 |
Called when the method finishes. This will be called exactly once for each method invocation, and afterward no other callback methods will be called.
void handleCompletion( in unsigned short reason );
reason
Called when an error occurs. This may be called multiple times before handleCompletion is called.
void handleError( in nsresult error );
error
For the retrieval methods, this is called once for each retrieved preference. It is not called for other methods.
void handleResult( in nsIContentPref pref );
pref