Listener Constructor

Definition

Namespace: P1.CameraSdk

Create a Listener object, with specified notifications enabled for the passed camera.

public Listener (Camera camera, EventType eventType)

This is a convenience constructor, it is equivalent to calling Listener() and then Listener.EnableNotification(Camera, EventType)

Parameters:

camera

The camera to receive notification from

eventType

The event type to receive notifications for