/// <summary> /// Checks whether the provided <c><see cref="GeospatialMode"/></c> is supported on this /// device. The current list of supported devices is documented on the <a /// href="https://developers.google.com/ar/devices">ARCore supported devices</a> /// page. A device may be incompatible with a given mode due to insufficient sensor /// capabilities. /// </summary> /// <param name="mode">The desired geospatial mode.</param> /// <returns> /// Indicates whether the given mode is supported on this device. /// It will return <c>FeatureSupported.Unknown</c> if the session is still under /// initialization. /// </returns> public FeatureSupported IsGeospatialModeSupported(GeospatialMode mode) { if (ARCoreExtensions._instance.currentARCoreSessionHandle == IntPtr.Zero) { return(FeatureSupported.Unknown); } return(SessionApi.IsGeospatialModeSupported( ARCoreExtensions._instance.currentARCoreSessionHandle, mode)); }