There are three samples that use the Status API, but none of them use RecorderStatusService2.InputDeviceStatus, still this I what I would try to use.
Thank you Bo for the quick response. I am using Milestone Corporate and am looking to get the device state of an io. It looks like InputGetState will return either Input Activated of deactivated. Isn’t the Status API different than InputGetState? I understand there are not any code examples for InputGetState I just want to confirm that I am understanding the function correctly so I can try to get it to work. Thank you.
If you are already using InputGetState you should not change. I believe the InputGetState and the StatusAPI InputDeviceStatus should give you the same information just in another method. I can confirm there is no sample.
I have not had any success getting the InputGetState to work. I am not tied to any one solution so I will try the Status API InputDeviceStatus. Thank you.
Note that all the mentioned methods will work in c-code (XProtect Corporate, Expert and Plus products). Let me mention the StatusAPI samples by name: Status Console, Status Session Console, System Status Client Console.
Thank you Bo. I will look at these samples. From the documentation I do not see that Status API InputDeviceStatus has the same results as InputGetState but I will run some tests to determine if InputDeviceStatus will allow me to determine if an input (from an I/O Module) is activated or deactivated. Thanks again for your help.