docs.unity3d.com
    目次を表示する/隠す

    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.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)