Home › Forums › Software Development › Tobii gazepointstreamdata stop › Reply To: Tobii gazepointstreamdata stop

Hi @marcochiappini, thanks for your query. Indeed there is a method to close the stream without the thread at the same time.
If you download the sample applications as supplied with the Core SDK @ https://github.com/Tobii/CoreSDK and thereafter navigate to the Streams.Advanced Sample – there a flag IsEnabled, for example:
`private static void ToggleGazePointDataStream()
{
if (_gazePointDataStream != null)
_gazePointDataStream.IsEnabled = !_gazePointDataStream.IsEnabled;
}`
So setting SomeStream.IsEnabled = false; should stop the stream.
Hopefully this answers your query, please don’t hesitate to let us know if you have any further questions or issues.