docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UrlRedirectionInterceptor

    This IUrlRedirectionInterceptor implementation handles url redirection interception and validation of awaited query arguments.

    Inheritance
    object
    UrlRedirectionInterceptor
    Implements
    IUrlRedirectionInterceptor
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.AppLinking.Runtime
    Assembly: Unity.Cloud.AppLinking.Runtime.dll
    Syntax
    public class UrlRedirectionInterceptor : IUrlRedirectionInterceptor, IDisposable

    Properties

    AwaitedQueryArguments

    Declaration
    public List<string> AwaitedQueryArguments { get; }
    Property Value
    Type Description
    List<string>

    Methods

    AwaitRedirectAsync(List<string>)

    Declaration
    public Task<UrlRedirectResult> AwaitRedirectAsync(List<string> awaitedQueryArguments = null)
    Parameters
    Type Name Description
    List<string> awaitedQueryArguments
    Returns
    Type Description
    Task<UrlRedirectResult>

    Dispose()

    Performs tasks related to disposing of associated resources.

    Declaration
    public void Dispose()

    Dispose(bool)

    Performs tasks related to disposing of associated resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    Whether we want to .

    GetInstance()

    Gets or creates the static instance of IUrlRedirectionInterceptor.

    Declaration
    public static IUrlRedirectionInterceptor GetInstance()
    Returns
    Type Description
    IUrlRedirectionInterceptor

    The static instance of IUrlRedirectionInterceptor.

    GetRedirectProcessId()

    Declaration
    public ProcessId GetRedirectProcessId()
    Returns
    Type Description
    ProcessId
    Remarks

    Only used for windows applications.

    GetRedirectionResult()

    Declaration
    public UrlRedirectResult? GetRedirectionResult()
    Returns
    Type Description
    UrlRedirectResult?

    InterceptAwaitedUrl(string, List<string>)

    Declaration
    public void InterceptAwaitedUrl(string url, List<string> awaitedQueryArguments = null)
    Parameters
    Type Name Description
    string url
    List<string> awaitedQueryArguments

    Events

    DeepLinkForwarded

    Declaration
    public event Action<Uri> DeepLinkForwarded
    Event Type
    Type Description
    Action<Uri>

    Implements

    IUrlRedirectionInterceptor
    IDisposable
    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)