@aller/blink
Version:
A library for tracking user behaviour.
9 lines (8 loc) • 397 B
TypeScript
import { PlayerState } from '../reducers/player';
import { VideoWatchEvent } from './video-event-time';
/**
* @function processSticky
* @returns array of videowatch events with filled data
* about player stickiness (if it's minimized or not)
*/
export declare function modifyEventArrayWithStickyInfo(playerId: string, players: PlayerState, videoWatches: VideoWatchEvent[]): VideoWatchEvent[];