Struct PromoMetadata | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct PromoMetadata

    Namespace: UnityEngine.Monetization
    Syntax
    public struct PromoMetadata

    Fields

    costs

    Declaration
    public PromoItem[] costs
    Field Value
    Type Description
    PromoItem[]

    customInfo

    Declaration
    public IDictionary<string, object> customInfo
    Field Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>

    impressionDate

    Declaration
    public DateTime impressionDate
    Field Value
    Type Description
    System.DateTime

    offerDuration

    Declaration
    public TimeSpan offerDuration
    Field Value
    Type Description
    System.TimeSpan

    payouts

    Declaration
    public PromoItem[] payouts
    Field Value
    Type Description
    PromoItem[]

    premiumProduct

    Declaration
    public Product premiumProduct
    Field Value
    Type Description
    Product

    Properties

    cost

    Declaration
    public PromoItem cost { get; }
    Property Value
    Type Description
    PromoItem

    isExpired

    Declaration
    public bool isExpired { get; }
    Property Value
    Type Description
    System.Boolean

    isPremium

    Declaration
    public bool isPremium { get; }
    Property Value
    Type Description
    System.Boolean

    payout

    Declaration
    public PromoItem payout { get; }
    Property Value
    Type Description
    PromoItem

    timeRemaining

    Declaration
    public TimeSpan timeRemaining { get; }
    Property Value
    Type Description
    System.TimeSpan
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023