Manual trigger of camera outputs in custom app

I would like to trigger camera outputs from my custom app using SDK integration. The idea is to include a button that enables output during the time has been configured from Milestone Management Client (Output ).

Although I already find how to insert a button that does it from SMART Client, I am not able to figure out how to do it using Component Integration. Is there any particular classs that I need to look up for this?

Thanks in advance.

When you run this snippet of the code, you can trigger output.

Please see this;

EnvironmentManager.Instance.SendMessage( new VideoOS.Platform.Messaging.Message(VideoOS.Platform.Messaging.MessageId.Control.TriggerCommand), item.FQID);

Great, thanks. I will try that.