Class DefaultARKitSessionDelegate
A default implementation of ARKitSessionDelegate.
Inherited Members
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. |