nsISupports
Last changed in Gecko 1.9 (Firefox 3)void getAttention(); |
void show([optional] in nsIInterfaceRequestor aWindowContext, [optional] in unsigned long aID, [optional] in short aReason); |
Attribute | Type | Description |
visible |
boolean |
true if the Download Manager UI is visible; otherwise false . Read only. |
Constant | Value | Description |
REASON_USER_INTERACTED |
0 |
When opening the Download Manager user interface, this value indicates that it's being done at the user's request. |
REASON_NEW_DOWNLOAD |
1 |
When opening the Download Manager user interface, this value indicates that the user interface is being displayed because a new download is being started. |
Calls attention to the Download Manager's user interface if it's already open. The UI need not be visible to call this function, nor will the UI be made visible.
void getAttention();
None.
NS_ERROR_UNEXPECTED
Shows the Download Manager's user interface to the user.
void show( in nsIInterfaceRequestor aWindowContext, Optional in unsigned long aID, Optional in short aReason Optional );
aWindowContext
OptionalaID
OptionalaReason
Optional