Interface IDownload
Provides a mechanism to inspect the progress and result of a download or file access request
Inherited Members
Namespace: GLTFast.Loading
Assembly: glTFast.dll
Syntax
public interface IDownload : IDisposable
  Properties
Data
Resulting data
Declaration
byte[] Data { get; }
  Property Value
| Type | Description | 
|---|---|
| byte[] | 
Error
Error message in case the request failed. Null otherwise.
Declaration
string Error { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
IsBinary
True if the result is a glTF-binary, false if it is not. No value if determining the glTF type was not possible or failed.
Declaration
bool? IsBinary { get; }
  Property Value
| Type | Description | 
|---|---|
| bool? | 
Success
True, if the request was successful
Declaration
bool Success { get; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
Text
Resulting data as text
Declaration
string Text { get; }
  Property Value
| Type | Description | 
|---|---|
| string |