Show / Hide Table of Contents

Class Asset

Represents a single asset file.

Inheritance
Object
Asset
Col
Dff
Ifp
Txd
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Assets
Assembly: SlipeClient.dll
Syntax
public class Asset

Constructors

| Improve this Doc View Source

Asset(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 Source

filepath

Declaration
protected string filepath
Field Value
Type Description
String
| Improve this Doc View Source

state

Declaration
protected DownloadState state
Field Value
Type Description
DownloadState

Properties

| Improve this Doc View Source

Filepath

Filepath of the asset

Declaration
public string Filepath { get; }
Property Value
Type Description
String
| Improve this Doc View Source

State

Current download state of the asset

Declaration
public DownloadState State { get; }
Property Value
Type Description
DownloadState

Methods

| Improve this Doc View Source

Download()

Starts a download of the file

Declaration
public void Download()

Events

| Improve this Doc View Source

OnDownloadComplete

Event that is called after the file has been downloaded

Declaration
public event Asset.OnDownloadCompleteHandler OnDownloadComplete
Event Type
Type Description
Asset.OnDownloadCompleteHandler
  • Improve this Doc
  • View Source
Back to top Generated by DocFX