docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AccumulateDownloadStats

    AccumulateDownloadStats(in RemoteContentId, ref long, ref long)

    Get the download statistics for a specified remote content id.

    Declaration
    public bool AccumulateDownloadStats(in RemoteContentId id, ref long totalBytes, ref long downloadedBytes)
    Parameters
    Type Name Description
    RemoteContentId id

    The remote content id.

    long totalBytes

    The total size of the content.

    long downloadedBytes

    The number of bytes already downloaded.

    Returns
    Type Description
    bool

    True if successful, false if the id has not been resolved or is not known to the system.

    In This Article
    • AccumulateDownloadStats(in RemoteContentId, ref long, ref long)
    Back to top
    Copyright © 2024 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)