Tracking switch to playback mode in the live tab

Is it possible to somehow spot switching to playback mode in the live view tab from the code? Perhaps there are events to subscribe to? Thank you.

You might already see Message Tester sample - ( https://doc.developer.milestonesys.com/html/index.html?base=samples/messagetester_sample.html&tree=tree_1.html) but in this case, you cannot use the message tester sample. Instead of the sample, hint – SCOverlayGraphonEVent sample. Please see the following link, the sample explains how to subscribe events and you will see an overlay in the view on Smart Client when the sample subscribes events. The sample keeps track of imageviewercontrols in live or playback mode.

https://doc.developer.milestonesys.com/html/index.html?base=samples/scoverlaygraphonevent.html&tree=tree_search.html?search=scoverlaygraphonevent