INotificationEvent Interface

Definition

Namespace: P1.CameraSdk

Notification interface that encapsulate all types of notifications More…

public interface INotificationEvent :  IDisposable

Remarks

Notification interface that encapsulate all types of notifications

The event system uses this notification class to symbolize an incoming event. Such event can be one of three types: Property changed, camera action or sdk state change.

All notification types except sdk state changes refer to a Camera where the event originated.

See also:

Listener

Properties

Type

The type of the current notification

HasImageFilename

true if ImageFilename property holds a valid filename

ImageId

Gets the id of the image this event relates to, or zero (0) if this is not an image related event.

HasCamera

true if this notification event is related to a specific camera

Camera

The camera that triggered the notification, or null

CameraId

Gets the id of the camera that the notification relates to.

PropertyId

If this notification is a property changed type, this holds the Id that was changed

IsCameraEvent

IsSdkEvent

IsPropertyEvent

IsTransferEvent

IsImageEvent

BasicImageInfo

Fetch some basic meta data from the image file, on the camera

Preview

If event type is EventType.CameraPreviewReady, this holds the image buffer data object.

Tile

If event type is EventType.CameraTileReady, this holds the image buffer data object.

LiveView

If event type is EventType.CameraNewLiveViewImage, this holds the image buffer data object.

FullImage

If event type is EventType.CameraImageReady, this holds the full image

StoredImageHandle

If event type is EventType.CameraImageAdded, EventType.CameraImageRemoved or EventType.CameraImageEdited this holds the image list item object.

CameraInfo

If this event is a SDK event like CameraFound or CameraRemoved This will contain a brief description of that camera.

TransferProgressPercent

If this is a file transfer progress event, this will contain the progress in percent.

ImageFilename

If transfer event, this is filename of the image being transferred

QueueMode

How this notification was queued in Listener

Methods

ToString()