Interface UplynkAdList

List of Uplynk ads.

interface UplynkAdList {
    length: number;
    addEventListener<TType extends "removead">(
        type: TType | readonly TType[],
        listener: EventListener<UplynkAdListEventMap[TType]>,
    ): void;
    item(index: number): undefined | UplynkAd;
    removeEventListener<TType extends "removead">(
        type: TType | readonly TType[],
        listener: EventListener<UplynkAdListEventMap[TType]>,
    ): void;
    [index: number]: UplynkAd;
}

Hierarchy (View Summary)

Indexable

  • [index: number]: UplynkAd

    The object representing the nth in the list.

Properties

length: number

The number of items in the list.

Methods

  • Returns the object representing the nth item in the list.

    Parameters

    • index: number

      The index of the item to retrieve.

    Returns undefined | UplynkAd