Class PromoMetadataTests | Advertisement | 3.4.9
docs.unity3d.com
    Show / Hide Table of Contents

    Class PromoMetadataTests

    Inheritance
    Object
    PromoMetadataTests
    Namespace: UnityEngine.Monetization.Editor.Tests
    Syntax
    public class PromoMetadataTests

    Methods

    SetUp()

    Declaration
    public void SetUp()

    TestIsExpired()

    Declaration
    public void TestIsExpired()

    TestIsPremium(String, Boolean)

    Declaration
    public void TestIsPremium(string productId, bool isPremium)
    Parameters
    Type Name Description
    String productId
    Boolean isPremium

    TestTimeRemaining(Int32, Int32, Int32)

    Declaration
    public void TestTimeRemaining(int impressionTimeSpan, int offerDuratonTimeSpan, int remainingTime)
    Parameters
    Type Name Description
    Int32 impressionTimeSpan
    Int32 offerDuratonTimeSpan
    Int32 remainingTime
    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