Can i get Live events from camera?

Hi,

How can i get LIVE events from camera like motion detection or any event?

I dont want to get the event from the camera, i want to get the event from the xProtect.

Thanks a lot for the answers.

This Status Viewer sample might be helpful.

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