Unable to get ptz position value

After Doing the ptz action

Like, for example

EnvironmentManager.Instance.PostMessage(New Message(MessageId.Control.PTZMoveCommand, PTZMoveCommandData.Down), selectedCamera.FQID)
 
 
                        EnvironmentManager.Instance.PostMessage(New Message(MessageId.Control.PTZMoveCommand, PTZMoveCommandData.Right), selectedCamera.FQID)
 
 
                        EnvironmentManager.Instance.PostMessage(New Message(MessageId.Control.PTZMoveCommand, PTZMoveCommandData.Up), selectedCamera.FQID)
 
 
                        EnvironmentManager.Instance.PostMessage(New Message(MessageId.Control.PTZMoveCommand, PTZMoveCommandData.ZoomIn), selectedCamera.FQID)
 

I was wondering if there is way to get the PTZ result/ value

Since before enginemanager used to return some value on these kind of function

but these above snippet does not return any value

Please help

Please have a look at the PTZ and Presets sample, I think it will give you a much better idea how to use PTZ in the MIP SDK.

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

https://github.com/milestonesys

For the return value you ask about my hint it MessageId.Control.PTZGetAbsoluteRequest which is also show cased in the sample.

Thank you