Amazon Vinyl
    Preparing search index...

    Interface LoadSpanEvent

    A LoadSpanMeasurement attributed to the track it was measured for.

    Emitted on the player as the loadSpan event.

    interface LoadSpanEvent {
        contentType?: ContentType;
        endTime: number;
        kind: LoadSpanKind;
        mimeType?: string;
        startTime: number;
        trackUri: string;
    }

    Hierarchy (View Summary)

    Index
    contentType?: ContentType

    The content type this span was measured for, when known. Set alongside mimeType for DRM license spans.

    endTime: number

    When the stage completed, as a unix millisecond timestamp.

    mimeType?: string

    The MIME type of the content this span was measured for, when known. Set for DRM license spans so a certificate exchange and the per-content-type license exchanges are distinguishable.

    startTime: number

    When the stage began, as a unix millisecond timestamp.

    trackUri: string

    The track this span was measured for, stamped at the source by the emitter that knows which track initiated the load. Omitted only when the initiating track is not yet known (e.g. an encrypted event handled before buffering DRM info is set).