Interface IDownload
Provides a mechanism to inspect the progress and result of a download or file access request
Inherited Members
Namespace: GLTFast.Loading
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 |
---|---|
Nullable<Boolean> |
Success
True, if the request was successful
Declaration
bool Success { get; }
Property Value
Type | Description |
---|---|
Boolean |
Text
Resulting data as text
Declaration
string Text { get; }
Property Value
Type | Description |
---|---|
String |