DownloadOptions
Extends: roAssociativeArray
Options for downloading a URL - see AssetLoader.download() and the built-in loads.
Properties
cache(boolean) — false downloads to tmp: for this launch only, instead of the cachefs: cache (default true)refresh(boolean) — true downloads again even when a cached copy exists (default false)timeoutSeconds(integer) — seconds a download may take before it's abandoned (default 30)retries(integer) — how many more times a download is tried after a network/server error or timeout (default 1)extension(string) — the extension to save the file with (e.g. ".jpg"), for a server that sends the wrong type.