Show / Hide Table of Contents

Class DownloadHandler

Inheritance
Object
DownloadHandler
DownloadHandlerAssetBundle
DownloadHandlerAudioClip
DownloadHandlerBuffer
DownloadHandlerFile
DownloadHandlerMovieTexture
DownloadHandlerScript
DownloadHandlerTexture
Implements
IDisposable
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.Networking
Assembly: UnityEngine.dll
Syntax
public class DownloadHandler : IDisposable

Properties

| Improve this Doc View Source

data

Declaration
public byte[] data { get; }
Property Value
Type Description
Byte[]
| Improve this Doc View Source

isDone

Declaration
public bool isDone { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

text

Declaration
public string text { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

CompleteContent()

Declaration
protected virtual void CompleteContent()
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()
| Improve this Doc View Source

GetCheckedDownloader<T>(UnityWebRequest)

Declaration
protected static T GetCheckedDownloader<T>(UnityWebRequest www)
    where T : DownloadHandler
Parameters
Type Name Description
UnityWebRequest www
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetData()

Declaration
protected virtual byte[] GetData()
Returns
Type Description
Byte[]
| Improve this Doc View Source

GetProgress()

Declaration
protected virtual float GetProgress()
Returns
Type Description
Single
| Improve this Doc View Source

GetText()

Declaration
protected virtual string GetText()
Returns
Type Description
String
| Improve this Doc View Source

ReceiveContentLength(Int32)

Declaration
protected virtual void ReceiveContentLength(int contentLength)
Parameters
Type Name Description
Int32 contentLength
| Improve this Doc View Source

ReceiveData(Byte[], Int32)

Declaration
protected virtual bool ReceiveData(byte[] data, int dataLength)
Parameters
Type Name Description
Byte[] data
Int32 dataLength
Returns
Type Description
Boolean

Implements

System.IDisposable

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX