OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

PlaybackRefreshResult

public enum PlaybackRefreshResult

What a call to ThermalCamera.RefreshPlayback did.

A result rather than a bool, because "nothing happened" has three causes on a replay and an application showing a picture needs to tell them apart: one is a programming error, one is the ordinary state of a replay nobody has started, and one is a file with no measurement in it at all.

Value
Delivered 0 The held frame was re-processed with the settings now in force and delivered again, down the same path a decoded frame takes.
NoHeldFrame 1 Nothing is held, so there was nothing to re-process: a replay that has not been started, one that has been stopped, or a file that delivered no frame. A no-op, not a failure.
Running 2 The replay is running and was left alone. The next decoded frame already carries the new settings, and delivering here as well would put the same frame out twice. Pause first.
PictureRecording 3 A picture recording: the palette is already in the pixels and there are no temperatures to re-derive.