Listener.EnableNotification Method

Definition

Namespace: P1.CameraSdk

Begin receiving SDK notifications, that is not related to a specific camera

public void EnableNotification(SdkEventId sdkEvent);

After calling this method, the Listener object will begin receiving notifications from the SDK

The SdkEventId uniquely defines the notification listener. So calling this method with the same parameters later, has no effect.

When you are done listening on the SdkEventId, remember to disable the notification listener.

Parameters:

sdkEvent

The Id of the SDK event to listner for

SdkException

an error-code inside if something goes wrong

See also:

EnableNotification(Camera, UInt32, bool), EnableNotification(Camera, CameraEventId), DisableNotification(SdkEventId)