/// <summary> /// Attempt to update or install necessary XR software. Will only be called if /// <see cref="XRSessionSubsystemDescriptor.supportsInstall"/> is true. /// </summary> /// <returns></returns> public virtual Promise <SessionInstallationStatus> InstallAsync() { return(Promise <SessionInstallationStatus> .CreateResolvedPromise(SessionInstallationStatus.ErrorInstallNotSupported)); }
/// <summary> /// Get the session's availability, such as whether the platform supports XR. /// </summary> /// <returns>A <see cref="Promise{T}"/> that the caller can yield on until availability is determined.</returns> public virtual Promise <SessionAvailability> GetAvailabilityAsync() { return(Promise <SessionAvailability> .CreateResolvedPromise(SessionAvailability.None)); }