Listener.DisableNotification Method
Definition
Namespace: P1.CameraSdk
Stop receiving property changed notifications from a specific camera
public void DisableNotification(Camera camera, UInt32 propertyId, bool isSpecificationChange = false);
After calling this method, the Listener object will no longer receive notifications, for the given property and camera.
When you are done listening on the property or you are about to dispose the Camera object, you should call this method.
Parameters:
camera |
The camera to listen for properties changes on |
propertyId |
The Id of the property to listen for |
isSpecificationChange |
Optional set to |
an error-code inside if something goes wrong |
See also:
EnableNotification(Camera, UInt32, bool), DisableNotification(Camera, EventType), DisableNotification(SdkEventType)