Listener Constructor

Definition

Namespace: P1.CameraSdk

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

public Listener (Camera camera, UInt32 propertyId, bool isSpecificationChange=false)

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

Parameters:

camera

The camera who’s property we wish to receive notifications for

propertyId

The Id of the property we wish to receive notification for

isSpecificationChange

Set to true if you want specification state change notifications instead, false is value changes only