public class JSExternalSharingManager extends JSBaseScriptableObject
Constructor and Description |
---|
JSExternalSharingManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
(JavaScript Function) createExternalShare(java.lang.String theResolverString,
java.lang.String theExpirationDate,
java.lang.String theShareInformation,
java.lang.String theBody,
int theDownloadCount)
Create an entry for sharing some selection external of having an account in MediaBeacon
|
java.lang.String |
(JavaScript Function) getDirectDownloadLink(java.lang.String theResolverString,
java.lang.String theExpirationDate,
java.lang.String theShareInformation,
java.lang.String theBody,
int theDownloadCount)
Return link for the external download.
|
java.lang.String |
(JavaScript Function) getLicensingPageLink(java.lang.String theResolverString,
java.lang.String theExpirationDate,
java.lang.String theShareInformation,
java.lang.String theBody,
int theDownloadCount)
Return the content relative path for showing the licensing page which leads to the external download.
|
void |
(JavaScript Function) removeExternalShare(java.lang.String theKey)
Remove sharing entries for the passed key
|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public java.lang.String (JavaScript Function) createExternalShare(java.lang.String theResolverString, java.lang.String theExpirationDate, java.lang.String theShareInformation, java.lang.String theBody, int theDownloadCount)
theResolverString
- resolver url used to define the grouping of assets. ex. asset://200364668, directory://32459theExpirationDate
- expiration date (time since epoch) ex. 1469171189281theShareInformation
- any extraneous information to be associated with the generated linktheBody
- the content to display in the licensing dialogs bodytheDownloadCount
- total download count allowed. -1 is unlimitedpublic java.lang.String (JavaScript Function) getLicensingPageLink(java.lang.String theResolverString, java.lang.String theExpirationDate, java.lang.String theShareInformation, java.lang.String theBody, int theDownloadCount)
theResolverString
- resolver url used to define the grouping of assets. ex. asset://200364668, directory://32459theExpirationDate
- expiration date (time since epoch) ex. 1469171189281theShareInformation
- any extraneous information to be associated with the generated linktheBody
- the content to display in the licensing dialogs bodytheDownloadCount
- total download count allowed. -1 is unlimitedpublic java.lang.String (JavaScript Function) getDirectDownloadLink(java.lang.String theResolverString, java.lang.String theExpirationDate, java.lang.String theShareInformation, java.lang.String theBody, int theDownloadCount)
theResolverString
- resolver url used to define the grouping of assets. ex. asset://200364668, directory://32459theExpirationDate
- expiration date (time since epoch) ex. 1469171189281theShareInformation
- any extraneous information to be associated with the generated linktheBody
- the content to display in the licensing dialogs bodytheDownloadCount
- total download count allowed. -1 is unlimitedpublic void (JavaScript Function) removeExternalShare(java.lang.String theKey)
theKey
- key for the downloadCopyright © 2016 MediaBeacon, Inc. All Rights Reserved.