Interface AnalyticsPresentationResolutionExperimental

Which adapter will present an artifact, and what was rejected on the way.

interface AnalyticsPresentationResolution {
    adapter: AnalyticsPresentationAdapter;
    fallback: boolean;
    notes: readonly string[];
    rejected: readonly {
        adapterId: string;
        message: string;
        reason: AnalyticsUnsupportedReason;
    }[];
}

Properties

fallback: boolean

True when every preferred adapter declined and the fallback was used.

notes: readonly string[]

Notes the winning adapter attached to its support decision.

rejected: readonly {
    adapterId: string;
    message: string;
    reason: AnalyticsUnsupportedReason;
}[]

Adapters that declined, with their machine-readable reasons.