docs.unity.cn
    Show / Hide Table of Contents

    Method AccumulateDownloadStats

    AccumulateDownloadStats(in RemoteContentId, ref Int64, ref Int64)

    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.

    Int64 totalBytes

    The total size of the content.

    Int64 downloadedBytes

    The number of bytes already downloaded.

    Returns
    Type Description
    Boolean

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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023