public static FeatureSupported IsGeospatialModeSupported( IntPtr sessionHandle, GeospatialMode mode) { FeatureSupported supported = FeatureSupported.Unknown; #if !UNITY_IOS || GEOSPATIAL_IOS_SUPPORT int isSupported = 0; ExternApi.ArSession_isGeospatialModeSupported( sessionHandle, mode.ToApiGeospatialMode(), ref isSupported); supported = isSupported == 0 ? FeatureSupported.Unsupported : FeatureSupported.Supported; #endif return(supported); }