docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DefaultARKitSessionDelegate

    A default implementation of ARKitSessionDelegate.

    Inheritance
    object
    ARKitSessionDelegate
    DefaultARKitSessionDelegate
    Inherited Members
    ARKitSessionDelegate.OnCoachingOverlayViewWillActivate(ARKitSessionSubsystem)
    ARKitSessionDelegate.OnCoachingOverlayViewDidDeactivate(ARKitSessionSubsystem)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.XR.ARKit
    Assembly: solution.dll
    Syntax
    public class DefaultARKitSessionDelegate : ARKitSessionDelegate

    Properties

    Name Description
    maxRetryCount

    (Read Only) The maximum number of attempts to reset the session if the session fails.

    retriesRemaining

    The number of session reset attempts remaining.

    Methods

    Name Description
    OnConfigurationChanged(ARKitSessionSubsystem)

    Resets the retriesRemaining to maxRetryCount.

    OnSessionDidFailWithError(ARKitSessionSubsystem, NSError)

    Default handling for session failures. This implementation logs an error and attempts to reset the session up to maxRetryCount times.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023