Click or drag to resize

SimpleImageDownloader Class

A utility singleton class for downloading images using a LIFO queue for the requests. MaxConcurrentRequests can be used to limit the number of concurrent requests.

Default is DEFAULT_MAX_CONCURRENT_REQUESTS. Each request is executed immediately if there's room for it. When the queue is full, the downloder starts checking each second if a slot is freed, after which re-enters the loop.

Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Com.ForbiddenByte.OSA.Util.IOSimpleImageDownloader

Namespace:  Com.ForbiddenByte.OSA.Util.IO
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class SimpleImageDownloader : MonoBehaviour

The SimpleImageDownloader type exposes the following members.

Constructors
  NameDescription
Public methodSimpleImageDownloader
Top
Properties
Methods
  NameDescription
Public methodEnqueue
Top
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also