docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)