Listener.DisableNotification Method

Definition

Namespace: P1.CameraSdk

Stop receiving camera action notifications from a specific camera

public void DisableNotification(Camera camera, EventType cameraEventId);

After calling this method, the Listener object will no longer receive notifications, for the given action event and camera.

When you are done listening on the EventType or you are about to dispose the Camera object, you should call this method.

Parameters:

camera

The camera to receive action notifications from

cameraEventId

The specific event the symbolizes the action

SdkException

an error-code inside if something goes wrong

See also:

EnableNotification(Camera, EventType), DisableNotification(Camera, UInt32, bool), DisableNotification(SdkEventType)