Documentation - v7.12.0
    Preparing search index...

    Interface RumPluginExperimental

    Plugin interface of the RUM browser SDK.

    The plugins API is unstable and experimental, and may change without notice. Please use only plugins provided by Datadog matching the version of the SDK you are using.

    onInit may abort the SDK initialization by returning (or resolving to) false. All plugins' onInit are called concurrently and independently; a Promise defers the actual initialization until it resolves, but does not delay any other plugin's onInit call.

    interface RumPlugin {
        name: string;
        getConfigurationTelemetry?(): Record<string, unknown>;
        onInit?(
            options: {
                initConfiguration: RumInitConfiguration;
                publicApi: DatadogRum;
            },
        ): false
        | void
        | Promise<false | void>;
        onRumStart?(options: OnRumStartOptions): void;
    }
    Index
    name: string