This project is read-only.

Detecting if PositionTracking events happen during seek

Topics: Windows 8 Xaml
Mar 5, 2015 at 10:46 PM
I need to send analytic related events when the player passes certain progress thresholds. I am trying to use the position tracking plugin to do so. However, there is a caveat where I am not supposed to send an event when the player seeks through a position.

Detecting a seek in a position tracking event seems straightforward enough per the documentation here, where it states that we should be getting a bool 'SkippedPast' indicating if this event happened during a seek or a scrub. However, this value is not present in the EventTrackedEventArgs data structure. Am I missing something or is this feature not quite ready yet? ;)

If this SkippedPast is not available, is there another recommended method for seek detecting in position tracking events? Currently, I am looking at implementing a fairly complex scheme where seek is detected via looking at PositionChanged events. At least if the SeekCompleted event contained seek start time and seek end time, seek detection would be a bit easier from the client side, but that is not available either..

Any advice? Thanks in advance!