docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct RetryPolicyInformation

    Contains information about retry attempts for purchase operations. Provides data about the number of retry attempts and timing information for retry policy decisions.

    Implements
    IRetryPolicyInformation
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    public struct RetryPolicyInformation : IRetryPolicyInformation

    Properties

    NumberOfAttempts

    Gets the total number of attempts made for the current operation. Includes the initial attempt plus all retry attempts.

    Declaration
    public readonly int NumberOfAttempts { get; }
    Property Value
    Type Description
    int

    TimeSinceFirstAttempt

    Gets the time elapsed since the first attempt was made, in seconds. Used to determine if retry timeouts have been exceeded.

    Declaration
    public readonly float TimeSinceFirstAttempt { get; }
    Property Value
    Type Description
    float

    Implements

    IRetryPolicyInformation
    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)