}, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ", pluginChain?: " }, { "kind": "Reference", "text": "ITelemetryPluginChain", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 10, "endIndex": 11 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "config", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "core", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "extensions", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 7 }, "isOptional": false }, { "parameterName": "pluginChain", "parameterTypeTokenRange": { "startIndex": 8, "endIndex": 9 }, "isOptional": true } ], "isOptional": false, "isAbstract": false, "name": "initialize" }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#isInitialized:member", "docComment": "/**\n * Returns whether the plugin has been initialized\n */\n", "excerptTokens": [ { "kind": "Content", "text": "isInitialized: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "isInitialized", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#priority:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "priority: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "priority", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#processNext:member", "docComment": "/**\n * Call back for telemetry processing before it it is sent\n *\n * @param env - This is the current event being reported\n *\n * @param itemCtx - This is the context for the current request, ITelemetryPlugin instances can optionally use this to access the current core instance or define / pass additional information to later plugins (vs appending items to the telemetry item)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "processNext: " }, { "kind": "Content", "text": "(env: " }, { "kind": "Reference", "text": "ITelemetryItem", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface" }, { "kind": "Content", "text": ", itemCtx: " }, { "kind": "Reference", "text": "IProcessTelemetryContext", "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface" }, { "kind": "Content", "text": ") => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "processNext", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#processTelemetry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "abstract processTelemetry(env: " }, { "kind": "Reference", "text": "ITelemetryItem", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface" }, { "kind": "Content", "text": ", itemCtx?: " }, { "kind": "Reference", "text": "IProcessTelemetryContext", "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "env", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "itemCtx", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true } ], "isOptional": false, "isAbstract": true, "name": "processTelemetry" }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#setInitialized:member", "docComment": "/**\n * Internal helper to allow setting of the internal initialized setting for inherited instances and unit testing\n */\n", "excerptTokens": [ { "kind": "Content", "text": "protected setInitialized: " }, { "kind": "Content", "text": "(isInitialized: boolean) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "setInitialized", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": true, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#setNextPlugin:member", "docComment": "/**\n * Set next extension for telemetry processing\n */\n", "excerptTokens": [ { "kind": "Content", "text": "setNextPlugin: " }, { "kind": "Content", "text": "(next: " }, { "kind": "Reference", "text": "ITelemetryPlugin", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "ITelemetryPluginChain", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface" }, { "kind": "Content", "text": ") => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "setNextPlugin", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#teardown:member(1)", "docComment": "/**\n * Tear down the plugin and remove any hooked value, the plugin should be removed so that it is no longer initialized and therefore could be re-initialized after being torn down. The plugin should ensure that once this has been called any further processTelemetry calls are ignored and it just calls the processNext() with the provided context.\n *\n * @param unloadCtx - This is the context that should be used during unloading.\n *\n * @param unloadState - The details / state of the unload process, it holds details like whether it should be unloaded synchronously or asynchronously and the reason for the unload.\n *\n * @returns boolean - true if the plugin has or will call processNext(), this for backward compatibility as previously teardown was synchronous and returned nothing.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "teardown(unloadCtx?: " }, { "kind": "Reference", "text": "IProcessTelemetryUnloadContext", "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUnloadContext:interface" }, { "kind": "Content", "text": ", unloadState?: " }, { "kind": "Reference", "text": "ITelemetryUnloadState", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUnloadState:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void | boolean" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "unloadCtx", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": true }, { "parameterName": "unloadState", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true } ], "isOptional": false, "isAbstract": false, "name": "teardown" }, { "kind": "Method", "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#update:member(1)", "docComment": "/**\n * The the plugin should re-evaluate configuration and update any cached configuration settings.\n *\n * @param updateCtx - This is the context that should be used during updating.\n *\n * @param updateState - The details / state of the update process, it holds details like the current and previous configuration.\n *\n * @returns boolean - true if the plugin has or will call updateCtx.processNext(), this allows the plugin to perform any asynchronous operations.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "update(updateCtx: " }, { "kind": "Reference", "text": "IProcessTelemetryUpdateContext", "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryUpdateContext:interface" }, { "kind": "Content", "text": ", updateState: " }, { "kind": "Reference", "text": "ITelemetryUpdateState", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryUpdateState:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void | boolean" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "updateCtx", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "updateState", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "update" }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin#version:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "version?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "version", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "implementsTokenRanges": [ { "startIndex": 1, "endIndex": 2 } ] }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!canUseCookies:function(1)", "docComment": "/**\n * @deprecated\n *\n * - Use the core.getCookieMgr().isEnabled() Helper method to tell if document.cookie object is available and whether it can be used.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function canUseCookies(logger: " }, { "kind": "Reference", "text": "IDiagnosticLogger", "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/CoreUtils.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "logger", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "canUseCookies" }, { "kind": "Variable", "canonicalReference": "@microsoft/applicationinsights-core-js!CoreUtils:var", "docComment": "/**\n * Provides a collection of utility functions, included for backward compatibility with previous releases.\n *\n * @deprecated\n *\n * Marking this instance as deprecated in favor of direct usage of the helper functions as direct usage provides better tree-shaking and minification by avoiding the inclusion of the unused items in your resulting code.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CoreUtils: " }, { "kind": "Reference", "text": "ICoreUtils", "canonicalReference": "@microsoft/applicationinsights-core-js!ICoreUtils:interface" } ], "fileUrlPath": "types/JavaScriptSDK/CoreUtils.d.ts", "isReadonly": true, "releaseTag": "Public", "name": "CoreUtils", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!createClassFromInterface:function(1)", "docComment": "/**\n * Simpler helper to create a dynamic class that implements the interface and populates the values with the defaults. Only instance properties (hasOwnProperty) values are copied from the defaults to the new instance\n *\n * @param defaults - Simple helper\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function createClassFromInterface(defaults?: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "new () => T" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "defaults", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": true } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "createClassFromInterface" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!createCookieMgr:function(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare function createCookieMgr(rootConfig?: " }, { "kind": "Reference", "text": "IConfiguration", "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface" }, { "kind": "Content", "text": ", logger?: " }, { "kind": "Reference", "text": "IDiagnosticLogger", "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "ICookieMgr", "canonicalReference": "@microsoft