Shows the Download Manager’s UI to the user.
[optional] | aWindowContext The parent window context to show the UI. |
[optional] | aDownload The download to be preselected upon opening. |
[optional] | aReason The reason to show the download manager's UI. This defaults to REASON_USER_INTERACTED, and should be one of the previously listed constants. |
[optional] | aUsePrivateUI Pass true as this argument to hint to the implementation that it should only display private downloads in the UI, if possible. |
Brings attention to the UI if it is already visible
@throws NS_ERROR_UNEXPECTED if the UI is not visible.
Indicates if the UI is visible or not.
The reason that should be passed when the user requests to show the
download manager’s UI.
The reason that should be passed to the show method when we are displaying
the UI because a new download is being added to it.