UNPKG

video-ad-sdk

Version:

VAST/VPAID SDK that allows video ads to be played on top of any player

10 lines (9 loc) 413 B
import type { ParsedAd, VastTrackingEvent, Optional } from '../types'; /** * Gets the Non Linear tracking events from the Vast Ad * * @param ad VAST ad object. * @param eventName If provided it will filter-out the array events against it. * @returns Array of Tracking event definitions */ export declare const getNonLinearTrackingEvents: (ad: ParsedAd, eventName?: string) => Optional<VastTrackingEvent[]>;