Listener.EnableNotification Method
Definition
Namespace: P1.CameraSdk
Begin receiving SDK notifications, that is not related to a specific camera
public void EnableNotification(SdkEventType sdkEventType);
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:
sdkEventType |
The SDK event to listen for |
an error-code inside if something goes wrong |
See also:
EnableNotification(Camera, UInt32, bool), EnableNotification(Camera, EventType), DisableNotification(SdkEventType)