/// <summary>
        /// Detects the end user change the curren position of the video.
        /// </summary>
        /// <param name="time">Video playhead in seconds. If this is 0, no data is saved in Nice Analytics backend</param>
        /// <param name="duration">Seeking duration in miliseconds. This is the time difference between seek end time - seek start time</param>
        /// <param name="code">View code retrieved from the data call</param>
        /// <param name="complete">Complete Action</param>
        public static void Seek(
            float time,
            int duration,
            string code,
            Action <string> complete)
        {
            var url = SeekApi.Seek(Host, time, duration, code);

            ApiClient.Post(url, complete);
        }
        /// <summary>
        /// Detects the end user change the curren position of the video.
        /// </summary>
        /// <param name="time">Video playhead in seconds. If this is 0, no data is saved in Nice Analytics backend</param>
        /// <param name="duration">Seeking duration in miliseconds. This is the time difference between seek end time - seek start time</param>
        /// <param name="code">View code retrieved from the data call</param>
        /// <param name="complete">Complete Action</param>
        /// <param name="error">Error Action</param>
        public static void Seek(
            double time,
            long duration,
            string code,
            Action <string> complete,
            Action <Exception> error)
        {
            var url = SeekApi.Seek(Host, time, duration, code);

            ApiClient.Post(url, complete, error);
        }