What's the Best Way to Approach Axis Events in Milestone Plug-in Development?

Hello, I’m new to Milestone Development. I previously set up a .NET project to gather information from an Axis camera, and now I’m looking to integrate that work into a Milestone plug-in.

Currently, I want to develop a plug-in that logs events as they are triggered by the camera. I have configured an Object Analytics app inside the camera, and I was previously receiving information by listening to the MQTT broker.

How does this work within the plug-in? I can set up an MQTT listener in the plug-in, but since Milestone can connect directly to the camera, I would like to know if there’s a simpler way to retrieve the event (Example: Crossline detection) metadata?

When you have camera events these can be added in the Management Client like this:

When the events happen they can be captured by listening for “NewEventsIndication”, they best way to see this in action is to explore the Alarm and Events Viewer sample (Events option).

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/alarmeventviewer/readme.html&tree=tree_2.html

I have to say I do not know if these events contain the expected metadata. You might get better guidance on these events if you ask in the Support Community. Ask there about general use of camera events, and here about utilizing the functionality from code.

https://supportcommunity.milestonesys.com

Thank you very much. I will look into “NewEventsIndication” to see if I can obtain any metadata from it.