SparkUploadableUtils

Provides utility methods to create and retrieve Uploadables.

e.g.

var uploadableUtils = Spark.getUploadableUtils();

uploadString

signature uploadString(string stringData, SparkPlayer player, string fileName, JSON metaData)

returns string

validity All Scripts

Uploads String data as an Uploadable

returns

The uploadId if the upload was successful, or null otherwise

retrieveString

signature retrieveString(string uploadId)

returns string

validity All Scripts

Returns a previously uploaded String, or null otherwise

Did this page help you? Please enter your feedback below. For questions about using this part of the platform, please contact support here