Class Asset
Represents a single asset file.
Inherited Members
Namespace: Slipe.Client.Assets
Assembly: SlipeClient.dll
Syntax
public class Asset
Constructors
| Improve this Doc View SourceAsset(String)
Creates a new asset with a specific filepath;
Declaration
public Asset(string filepath)
Parameters
Type | Name | Description |
---|---|---|
String | filepath |
Fields
| Improve this Doc View Sourcefilepath
Declaration
protected string filepath
Field Value
Type | Description |
---|---|
String |
state
Declaration
protected DownloadState state
Field Value
Type | Description |
---|---|
DownloadState |
Properties
| Improve this Doc View SourceFilepath
Filepath of the asset
Declaration
public string Filepath { get; }
Property Value
Type | Description |
---|---|
String |
State
Current download state of the asset
Declaration
public DownloadState State { get; }
Property Value
Type | Description |
---|---|
DownloadState |
Methods
| Improve this Doc View SourceDownload()
Starts a download of the file
Declaration
public void Download()
Events
| Improve this Doc View SourceOnDownloadComplete
Event that is called after the file has been downloaded
Declaration
public event Asset.OnDownloadCompleteHandler OnDownloadComplete
Event Type
Type | Description |
---|---|
Asset.OnDownloadCompleteHandler |