Class ProgressListener

Class Documentation

class ProgressListener

Public Functions

virtual ~ProgressListener()
virtual void OnKeyframeApplyStart() = 0

Called when keyframed playback is available, before playback begins applying the keyframe.

virtual void OnKeyframeApplyEnd() = 0

Called when keyframed playback is available, after playback finishes applying the keyframe.

virtual void OnUpdate(double absolutePercent, double relativePercent) = 0

Called periodically when playback is playing up to range-of-interest.

Parameters
  • absolutePercent -- Playback position within the overall stream, regardless of playback start position

  • relativePercent -- Playback position between the starting point of playback (whether start position is the result of applying a keyframe) and the start of the target range of interest.

virtual void OnTargetRangeReached() = 0

Called when playback has reached the target range of interest.