stopListening Method

Summary

Stops listening to the events.

Syntax

JavaScript Syntax
InteractiveService.prototype.stopListening = function() 
TypeScript Syntax
stopListening(): void; 

Remarks

Calling this method will cause the service to unhook from the EventsSource events. The various events (such as Tap, DoubleTap, Move, Hold, DragStarted, DragDelta, DragCompleted, etc.) will not fired after StopListening is called.

The ImageViewer will automatically call StopListening on its instance of InteractiveService when its disposed.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly