/// <summary> /// Register a callback function to receive eye camera related data when the module has new outputs. /// </summary> /// <param name="callback">function pointer of callback</param> /// <returns>error code. please refer Error in ViveSR_Enums.h.</returns> public static int WrapperRegisterEyeDataCallback(System.IntPtr callback) { return(SRanipal_Eye_API.RegisterEyeDataCallback_v2(callback)); }