Interface IAssetLibraryJob
This interface represents a job created by an asset library.
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public interface IAssetLibraryJob
Properties
Id
The identifier for the job.
Declaration
AssetLibraryJobId Id { get; }
Property Value
Type | Description |
---|---|
AssetLibraryJobId |
Methods
GetPropertiesAsync(CancellationToken)
Returns the properties of the job.
Declaration
Task<AssetLibraryJobProperties> GetPropertiesAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | A token that can be used to cancel the request. |
Returns
Type | Description |
---|---|
Task<AssetLibraryJobProperties> | A task whose result is the AssetLibraryJobProperties of the job. |
RefreshAsync(CancellationToken)
Retrieves and caches the job properties.
Declaration
Task RefreshAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | A token that can be used to cancel the request. |
Returns
Type | Description |
---|---|
Task | A task with no result. |