get information about camera in view

I am rather new to Milestone. I managed to create a toolbar button that saves information about a camera playing in a view.

I succeeded in getting the camera information (properties[“CurrentCameraId”] of the view) but how can I determine if the view is playing live or independent playback? And the timestamp of the playback?

Live mode or playback mode you can get on the imageViewerAddOn

abstract Boolean VideoOS.Platform.Client.ImageViewerAddOn.InLiveMode

[get]

and also playback time

abstract DateTime VideoOS.Platform.Client.ImageViewerAddOn.PlaybackImageDateTime

[get]

http://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_client_1_1_image_viewer_add_on.html&tree=tree_search.html?search=addon