nbhatia Posted June 4, 2020 Share Posted June 4, 2020 Hi, I am using SRAnipal SDK in C. In SRAnipal_Eye.h, I see that some APIs (pasted below) are declared to register callbacks. Can anyone help me by providing an example of using this callback? /* Register a callback function to receive eye camera related data when the module has new outputs. [in] function pointer of callback [out] error code. please refer Error in ViveSR_Enums.h */ SR_ANIPAL int RegisterEyeDataCallback(VivesrEyeDataCallback callback); /* Unegister a callback function to stop receiving eye camera related data. [in] function pointer of callback [out] error code. please refer Error in ViveSR_Enums.h */ SR_ANIPAL int UnregisterEyeDataCallback(VivesrEyeDataCallback callback); Many Thanks, Nitesh @Corvus @Daniel_Y Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now