Giter VIP home page Giter VIP logo

dhxdownloadmanager's Introduction

DHXDownloadManager

What is this used for?

DHXDownloadManager is used as a central place to collate downloads. Instead of having requests in various parts of your program, it provides a central interface for downloading. It is primarily used for Unity, but future plans are to decouple it where needed.

Why is it cool?

  • Multiple download engines so you're not locked down to a particular library. Supports Unitys WWW class and BestHTTP and is easy to extend to others.
  • Saving to file automatically using the relative path in the URL is supported
  • A stored list of downloaded files to keep track of what has been downloaded and the state it's in
  • Groups of downloaded files to support a grouped state. Useful for download packs.
  • Restarting failed downloads on app restart
  • Progress callbacks for individual files and groups of files
  • Comes with a set of unit tests

Sample code

// this will save to Application.persistentDataPath/piko_public/Test.png
Manifest manifest = new ManifestFileStream("https://s3.amazonaws.com/piko_public/Test.png", ManifestFileStream.Flags.None);
DownloadManager.AddDownload(manifest);

dhxdownloadmanager's People

Contributors

dhxmedia avatar kalonw avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.