Is it possible get the time that the alarm preview panel is playing video?

Hi all, im developing a plugin that will export a video clip from an alarm references camera. I would like to use the alarm preview pannel for set the start and stop time of the clip to be exported. My plan is to pause the video on the alarm preview panel then move the timeline to the time point i want to start the export, then click on a button on my plugin that should get the time from the alarm preview panel, then do the same for the end.

Can I get the time by event subscription or message query?

Thanks