I am able to publish the events from spark core and able to register the event listener using c# libraries and there is no issues. I am doing it for water sensor. Now I want my “Monitor” or c# event listener to stop listening to events from spark.
Is there any way to do that??
I am using the code below to listen to spark events:
core.EventReceived += Event_Received;
Please let me know.