docs.unity3d.com
    Show / Hide Table of Contents

    Class AsyncUrlRedirectAwaiter

    Inheritance
    Object
    AsyncUrlRedirectAwaiter
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Common
    Syntax
    public class AsyncUrlRedirectAwaiter : IUrlRedirectAwaiter

    Constructors

    AsyncUrlRedirectAwaiter(Int32, Int32)

    Declaration
    public AsyncUrlRedirectAwaiter(int refreshDelay = 500, int timeoutDelay = 600000)
    Parameters
    Type Name Description
    Int32 refreshDelay
    Int32 timeoutDelay

    AsyncUrlRedirectAwaiter(ITimeAwaiter, Int32, Int32)

    Declaration
    public AsyncUrlRedirectAwaiter(ITimeAwaiter awaiter, int refreshDelay = 500, int timeoutDelay = 600000)
    Parameters
    Type Name Description
    ITimeAwaiter awaiter
    Int32 refreshDelay
    Int32 timeoutDelay

    Properties

    HasResult

    Declaration
    public bool HasResult { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IUrlRedirectAwaiter.HasResult

    HasTimedOut

    Declaration
    public bool HasTimedOut { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IUrlRedirectAwaiter.HasTimedOut

    RedirectResult

    Declaration
    public UrlRedirectResult? RedirectResult { get; }
    Property Value
    Type Description
    Nullable<UrlRedirectResult>
    Implements
    IUrlRedirectAwaiter.RedirectResult

    RefreshDelay

    Declaration
    public int RefreshDelay { get; set; }
    Property Value
    Type Description
    Int32
    Implements
    IUrlRedirectAwaiter.RefreshDelay

    TimeoutDelay

    Declaration
    public int TimeoutDelay { get; set; }
    Property Value
    Type Description
    Int32
    Implements
    IUrlRedirectAwaiter.TimeoutDelay

    Methods

    BeginWait()

    Declaration
    public void BeginWait()
    Implements
    IUrlRedirectAwaiter.BeginWait()

    SetResult(Nullable<UrlRedirectResult>)

    Declaration
    public void SetResult(UrlRedirectResult? result)
    Parameters
    Type Name Description
    Nullable<UrlRedirectResult> result
    Implements
    IUrlRedirectAwaiter.SetResult(Nullable<UrlRedirectResult>)

    WaitForRefreshAsync(CancellationToken)

    Declaration
    public async Task WaitForRefreshAsync(CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    Implements
    IUrlRedirectAwaiter.WaitForRefreshAsync(CancellationToken)
    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