How to check if camera is tampering?

I added configured event Tampering to camera:

Now I am getting this event when camera is in tampering state:

Is there a way how to check if camera is tampering after application start (if the event was sent before application started)? I can check if camera is recording via

var recorderService = new RecorderStatusService2(recordingServerId.Uri);
var statuses = recorderService.GetCurrentDeviceStatus(token, devicesGuids.ToArray());
 
var cameraStatus = statuses.CameraDeviceStatusArray.FirstOrDefault(c => c.DeviceId == cameraFqid.ObjectId);
 
var isRecording = cameraStatus.Recording ;

Is there something similar for tampering?

The Recording Server does not have a concept of a camera being in a Tampering state. This means the best you can do is to subscribe to the Tampering event, and alert users based on the event.