We are using Vivotek cameras (SD9362-EHL and FD836BA-HTL) and we could not find any document or sample explaining how to capture built-in events such as camera tampering or audio détection through the Milestone SDK.
First make sure you can receive the events in the regular setup. Once the events are setup and working you can tap into them with the MIP SDK using NewIeventsIndication and this can be explored with the StatusViewer sample.
I actually was missing the step where I have to first setup which device events need to be handled by the Milestone software through the Management Client. I found a useful post somewhere in this forum describing this step for an Axis Camera and successfully applied it to our Vivotek models.
I can now see the StatusViewer sample is receiving the tampering event . Thanks!