public class DownloadApiPublisher
extends java.lang.Object
window.MBAPIwindow.MBAPI.downloadCustom(theResolverType, theResolverId) for example)| Constructor and Description |
|---|
DownloadApiPublisher() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearLoadingDock()
Clear all items out of the user's loading dock
|
static void |
downloadCurrentSelection()
Downloads current selection.
|
static void |
downloadCustom(java.lang.String theResolverType,
java.lang.String theResolverId)
Download something defined by the resolver strings using a custom download
Ex.
|
static void |
getDownloadLink(int theAssetId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
Get the URL to download asset.
|
static void |
getLoadingDockItems(jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
Returns list of loading dock items paths
|
static void |
internalGetDownloadLink(int theAssetId,
jb.gwt_main_modules.base_widgets.client.util.FunctionAsyncCallback theCallback) |
static void |
openCustomConversionDialog(java.lang.String theSelectedPreset)
Opens custom conversion dialog.
|
static void |
runDownloadJS(int theAssetId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
Run any download javascript.
|
static void |
setupJavascriptAPIs()
Setup message javascript API.
|
public static void setupJavascriptAPIs()
public static void downloadCustom(java.lang.String theResolverType,
java.lang.String theResolverId)
theResolverType - resolver type (ex bundle, directory, savedSelection)theResolverId - id to use with the resolverpublic static void openCustomConversionDialog(java.lang.String theSelectedPreset)
theSelectedPreset - the name of preset to selectpublic static void downloadCurrentSelection()
public static void clearLoadingDock()
public static void getLoadingDockItems(jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
public static void getDownloadLink(int theAssetId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
theAssetId - theCallback - public static void internalGetDownloadLink(int theAssetId,
jb.gwt_main_modules.base_widgets.client.util.FunctionAsyncCallback theCallback)
public static void runDownloadJS(int theAssetId,
jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback)
theAssetId - theCallback - Copyright © 2026 MediaBeacon, Inc. All Rights Reserved.