docs.unity.cn
    Show / Hide Table of Contents

    Class AddReferenceImageJobStatusExtensions

    Extensions to the AddReferenceImageJobStatus enum.

    Inheritance
    Object
    AddReferenceImageJobStatusExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public static class AddReferenceImageJobStatusExtensions

    Methods

    IsComplete(AddReferenceImageJobStatus)

    Determines whether the AddReferenceImageJobStatus has completed (successfully or not).

    Declaration
    public static bool IsComplete(this AddReferenceImageJobStatus status)
    Parameters
    Type Name Description
    AddReferenceImageJobStatus status

    The AddReferenceImageJobStatus being extended.

    Returns
    Type Description
    Boolean

    Returns true if status is greater than Pending. Returns false otherwise.

    IsError(AddReferenceImageJobStatus)

    Determines whether the AddReferenceImageJobStatus has completed with an error.

    Declaration
    public static bool IsError(this AddReferenceImageJobStatus status)
    Parameters
    Type Name Description
    AddReferenceImageJobStatus status

    The AddReferenceImageJobStatus being extended.

    Returns
    Type Description
    Boolean

    Returns true if status is greater than or equal to ErrorInvalidImage. Returns false otherwise.

    IsPending(AddReferenceImageJobStatus)

    Determines whether the AddReferenceImageJobStatus is Pending.

    Declaration
    public static bool IsPending(this AddReferenceImageJobStatus status)
    Parameters
    Type Name Description
    AddReferenceImageJobStatus status

    The AddReferenceImageJobStatus being extended.

    Returns
    Type Description
    Boolean

    Returns true if status is Pending. Returns false otherwise.

    IsSuccess(AddReferenceImageJobStatus)

    Determines whether the AddReferenceImageJobStatus has completed successfully.

    Declaration
    public static bool IsSuccess(this AddReferenceImageJobStatus status)
    Parameters
    Type Name Description
    AddReferenceImageJobStatus status

    The AddReferenceImageJobStatus being extended.

    Returns
    Type Description
    Boolean

    Returns true if status is Success. Returns false otherwise.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, July 26, 2023