Stress Monitor using Galaxy Gear S3 in tizen

Well I am trying to use the stress monitor in my Galaxy Gear S3 Watch, I have tizen studio 3.6. I have received an error about uncaught type of constructor. Can someone guide me whats wrong?

Would you please share the error, logs and a code snippet to check?