docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Content

    Contains content metadata

    Inheritance
    object
    Content
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Ugc.Bridge
    Assembly: Unity.Services.Ugc.Bridge.Editor.dll
    Syntax
    public class Content

    Properties

    AddVersionId

    Id returned when adding content version

    Declaration
    public string AddVersionId { get; }
    Property Value
    Type Description
    string

    AssetUploadStatus

    Asset upload status

    Declaration
    public ContentUploadStatus AssetUploadStatus { get; }
    Property Value
    Type Description
    ContentUploadStatus

    AverageRating

    Average user rating

    Declaration
    public float? AverageRating { get; }
    Property Value
    Type Description
    float?

    ContentMd5Hash

    Md5 hash of the content binary

    Declaration
    public string ContentMd5Hash { get; }
    Property Value
    Type Description
    string

    CreatedAt

    Date content was created

    Declaration
    public DateTime CreatedAt { get; }
    Property Value
    Type Description
    DateTime

    CreatorAccountId

    Creator id that uploaded content

    Declaration
    public string CreatorAccountId { get; }
    Property Value
    Type Description
    string

    CustomId

    Custom Id for content

    Declaration
    public string CustomId { get; }
    Property Value
    Type Description
    string

    DeletedAt

    Date content was soft deleted

    Declaration
    public DateTime? DeletedAt { get; }
    Property Value
    Type Description
    DateTime?

    Description

    Description

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    string

    DiscoveryTags

    Content discovery tags

    Declaration
    public List<Tag> DiscoveryTags { get; }
    Property Value
    Type Description
    List<Tag>

    DownloadedContent

    The downloaded asset. This value is only set with GetContentAsync or DownloadContentDataAsync

    Declaration
    public byte[] DownloadedContent { get; }
    Property Value
    Type Description
    byte[]

    DownloadedThumbnail

    The downloaded thumbnail. This value is only set with GetContentAsync or DownloadContentDataAsync

    Declaration
    public byte[] DownloadedThumbnail { get; }
    Property Value
    Type Description
    byte[]

    EnvironmentId

    Owning environment id

    Declaration
    public string EnvironmentId { get; }
    Property Value
    Type Description
    string

    Id

    Content item guid

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string

    IsUserSubscribed

    User is subscribed

    Declaration
    public bool IsUserSubscribed { get; }
    Property Value
    Type Description
    bool

    Metadata

    Metadata of the content

    Declaration
    public string Metadata { get; }
    Property Value
    Type Description
    string

    Name

    Display name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    OwnerAccountId

    Account id that uploaded content

    Declaration
    [Obsolete("Use CreatorAccountId instead.")]
    public string OwnerAccountId { get; }
    Property Value
    Type Description
    string

    ProjectId

    Owning project id

    Declaration
    public string ProjectId { get; }
    Property Value
    Type Description
    string

    RatingCount

    Number of user ratings

    Declaration
    public int? RatingCount { get; }
    Property Value
    Type Description
    int?

    Statistics

    Content statistics

    Declaration
    public ContentStatistics Statistics { get; }
    Property Value
    Type Description
    ContentStatistics

    SubscriptionCount

    Number of subscriptions

    Declaration
    public int? SubscriptionCount { get; }
    Property Value
    Type Description
    int?

    Tags

    Tag Ids

    Declaration
    public List<Tag> Tags { get; }
    Property Value
    Type Description
    List<Tag>

    ThumbnailMd5Hash

    Md5 hash of the content thumbnail

    Declaration
    public string ThumbnailMd5Hash { get; }
    Property Value
    Type Description
    string

    ThumbnailUploadStatus

    Thumbnail upload status

    Declaration
    public ContentUploadStatus ThumbnailUploadStatus { get; }
    Property Value
    Type Description
    ContentUploadStatus

    UpdatedAt

    Date content was last updated

    Declaration
    public DateTime UpdatedAt { get; }
    Property Value
    Type Description
    DateTime

    Version

    Current live version of content

    Declaration
    public string Version { get; }
    Property Value
    Type Description
    string

    Visibility

    Global visibility

    Declaration
    public ContentVisibility Visibility { get; }
    Property Value
    Type Description
    ContentVisibility
    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)