#if UNITY_OPENXR_1_9_0_OR_NEWER
using System.Runtime.InteropServices;
using UnityEngine.XR.MagicLeap;
using UnityEngine.XR.MagicLeap.Native;
namespace UnityEngine.XR.OpenXR.Features.MagicLeapSupport
{
public partial class MagicLeapUserCalibrationFeature
{
internal class NativeBindings : MagicLeapNativeBindings
{
[DllImport(MagicLeapXrProviderNativeBindings.MagicLeapXrProviderDll, CallingConvention = CallingConvention.Cdecl)]
[return: MarshalAs(UnmanagedType.U1)]
public static extern bool MLOpenXREnableUserCalibrationEvents(bool enable);
[DllImport(MagicLeapXrProviderNativeBindings.MagicLeapXrProviderDll, CallingConvention = CallingConvention.Cdecl)]
[return: MarshalAs(UnmanagedType.U1)]
public static extern bool MLOpenXRGetHeadsetFitData(ref HeadsetFitStatus headsetFitStatus, ref long headsetFitTime);
[DllImport(MagicLeapXrProviderNativeBindings.MagicLeapXrProviderDll, CallingConvention = CallingConvention.Cdecl)]
[return: MarshalAs(UnmanagedType.U1)]
public static extern bool MLOpenXRGetEyeCalibrationData(ref EyeCalibrationStatus eyeCalibrationStatus);
}
}
}
#endif