OptiView Ads SDK
    Preparing search index...

    Type Alias ManifestResponseInterceptor

    ManifestResponseInterceptor: (
        manifest: BreakManifest,
        context: ManifestInterceptContext,
    ) => BreakManifest | Promise<BreakManifest>

    Hook to inspect/modify the parsed, validated BreakManifest before it is scheduled (initial fetch and every poll). The returned manifest is used without re-validation. May be async; on throw the SDK emits DA-MANIFEST-INTERCEPT-FAILED and uses the unmodified manifest.

    Type Declaration

    interceptManifestResponse: (manifest) => ({
    ...manifest,
    breaks: [preRollBreak, ...manifest.breaks],
    })