ind": "Content", "text": ", callbackfn: " }, { "kind": "Content", "text": "(name: string, value: T[keyof T]) => void" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "callbackfn", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "objForEachKey" }, { "kind": "Variable", "canonicalReference": "@microsoft/applicationinsights-core-js!objFreeze:var", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "objFreeze: " }, { "kind": "Content", "text": "(value: T) => T" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "isReadonly": true, "releaseTag": "Public", "name": "objFreeze", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!objKeys:function(1)", "docComment": "/**\n * Returns the names of the enumerable string properties and methods of an object. This helper exists to avoid adding a polyfil for older browsers that do not define Object.keys eg. ES3 only, IE8 just in case any page checks for presence/absence of the prototype implementation. Note: For consistency this will not use the Object.keys implementation if it exists as this would cause a testing requirement to test with and without the implementations\n *\n * @param obj - Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function objKeys(obj: " }, { "kind": "Content", "text": "{}" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "obj", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "objKeys" }, { "kind": "Variable", "canonicalReference": "@microsoft/applicationinsights-core-js!objSeal:var", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "objSeal: " }, { "kind": "Content", "text": "(value: T) => T" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "isReadonly": true, "releaseTag": "Public", "name": "objSeal", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!objToString:function(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare function objToString(obj: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "obj", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "objToString" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!optimizeObject:function(1)", "docComment": "/**\n * A helper function to assist with JIT performance for objects that have properties added / removed dynamically this is primarily for chromium based browsers and has limited effects on Firefox and none of IE. Only call this function after you have finished \"updating\" the object, calling this within loops reduces or defeats the benefits. This helps when iterating using for..in, objKeys() and objForEach()\n *\n * @param theObject - The object to be optimized if possible\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function optimizeObject(theObject: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "theObject", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "optimizeObject" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!parseTraceParent:function(1)", "docComment": "/**\n * Attempt to parse the provided string as a W3C TraceParent header value (https://www.w3.org/TR/trace-context/#traceparent-header)\n *\n * @param value - \n *\n * @returns \n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function parseTraceParent(value: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "ITraceParent", "canonicalReference": "@microsoft/applicationinsights-core-js!ITraceParent:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/W3cTraceParent.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "parseTraceParent" }, { "kind": "Class", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent:class", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare class PerfEvent implements " }, { "kind": "Reference", "text": "IPerfEvent", "canonicalReference": "@microsoft/applicationinsights-core-js!IPerfEvent:interface" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "types/JavaScriptSDK/PerfManager.d.ts", "releaseTag": "Public", "isAbstract": false, "name": "PerfEvent", "preserveMemberOrder": false, "members": [ { "kind": "Constructor", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent:constructor(1)", "docComment": "/**\n * Constructs a new instance of the `PerfEvent` class\n */\n", "excerptTokens": [ { "kind": "Content", "text": "constructor(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", payloadDetails: " }, { "kind": "Content", "text": "() => any" }, { "kind": "Content", "text": ", isAsync: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ");" } ], "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "payloadDetails", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "isAsync", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false } ] }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent.ChildrenContextKey:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static ChildrenContextKey: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "ChildrenContextKey", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#complete:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "complete: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "complete", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#exTime:member", "docComment": "/**\n * Identifies the exclusive time spent in for this event (not including child events), this will be undefined until the event is completed.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "exTime?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "exTime", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#getCtx:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getCtx?: " }, { "kind": "Content", "text": "(key: string) => any | null | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "getCtx", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#isAsync:member", "docComment": "/**\n * Is this occurring from an asynchronous event\n */\n", "excerptTokens": [ { "kind": "Content", "text": "isAsync: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "isAsync", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#isChildEvt:member", "docComment": "/**\n * Identifies whether this event is a child event of a parent\n */\n", "excerptTokens": [ { "kind": "Content", "text": "isChildEvt: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "isChildEvt", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#name:member", "docComment": "/**\n * The name of the event\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent.ParentContextKey:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static ParentContextKey: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "ParentContextKey", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#payload:member", "docComment": "/**\n * The payload (contents) of the perfEvent, may be null or only set after the event has completed depending on the runtime environment.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "payload: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "payload", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#setCtx:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "setCtx?: " }, { "kind": "Content", "text": "(key: string, value: any) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "setCtx", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#start:member", "docComment": "/**\n * The start time of the event in ms\n */\n", "excerptTokens": [ { "kind": "Content", "text": "start: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "start", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfEvent#time:member", "docComment": "/**\n * Identifies the total inclusive time spent for this event, including the time spent for child events, this will be undefined until the event is completed\n */\n", "excerptTokens": [ { "kind": "Content", "text": "time?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "time", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "implementsTokenRanges": [ { "startIndex": 1, "endIndex": 2 } ] }, { "kind": "Class", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfManager:class", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare class PerfManager implements " }, { "kind": "Reference", "text": "IPerfManager", "canonicalReference": "@microsoft/applicationinsights-core-js!IPerfManager:interface" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "types/JavaScriptSDK/PerfManager.d.ts", "releaseTag": "Public", "isAbstract": false, "name": "PerfManager", "preserveMemberOrder": false, "members": [ { "kind": "Constructor", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfManager:constructor(1)", "docComment": "/**\n * Constructs a new instance of the `PerfManager` class\n */\n", "excerptTokens": [ { "kind": "Content", "text": "constructor(manager?: " }, { "kind": "Reference", "text": "INotificationManager", "canonicalReference": "@microsoft/applicationinsights-core-js!INotificationManager:interface" }, { "kind": "Content", "text": ");" } ], "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "manager", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": true } ] }, { "kind": "Method", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfManager#create:member(1)", "docComment": "/**\n * Create a new event and start timing, the manager may return null/undefined to indicate that it does not want to monitor this source event.\n *\n * @param src - The source name of the event\n *\n * @param payloadDetails - An optional callback function to fetch the payload details for the event.\n *\n * @param isAsync - Is the event occurring from a async event\n */\n", "excerptTokens": [ { "kind": "Content", "text": "create(src: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", payload?: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ", isAsync?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "IPerfEvent", "canonicalReference": "@microsoft/applicationinsights-core-js!IPerfEvent:interface" }, { "kind": "Content", "text": " | null | undefined" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 9 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "src", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "payload", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true }, { "parameterName": "isAsync", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": true } ], "isOptional": false, "isAbstract": false, "name": "create" }, { "kind": "Method", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfManager#fire:member(1)", "docComment": "/**\n * Complete the perfEvent and fire any notifications.\n *\n * @param perfEvent - Fire the event which will also complete the passed event\n */\n", "excerptTokens": [ { "kind": "Content", "text": "fire(perfEvent: " }, { "kind": "Reference", "text": "IPerfEvent", "canonicalReference": "@microsoft/applicationinsights-core-js!IPerfEvent:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "perfEvent", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "fire" }, { "kind": "Method", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfManager#getCtx:member(1)", "docComment": "/**\n * Get the execution context value\n *\n * @param key - The context key\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCtx(key: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "key", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getCtx" }, { "kind": "Method", "canonicalReference": "@microsoft/applicationinsights-core-js!PerfManager#setCtx:member(1)", "docComment": "/**\n * Set an execution context value\n *\n * @param key - The context key name\n *\n * @param value - The value\n */\n", "excerptTokens": [ { "kind": "Content", "text": "setCtx(key: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", value: " }, { "kind": "Content", "text": "any" }, { "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": "key", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "setCtx" } ], "implementsTokenRanges": [ { "startIndex": 1, "endIndex": 2 } ] }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!perfNow:function(1)", "docComment": "/**\n * Return the current value of the Performance Api now() function (if available) and fallback to dateNow() if it is unavailable (IE9 or less) https://caniuse.com/#search=performance.now\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function perfNow(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/CoreUtils.d.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "perfNow" }, { "kind": "Class", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext:class", "docComment": "/**\n * This class will be removed!\n *\n * @deprecated\n *\n * use createProcessTelemetryContext() instead\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class ProcessTelemetryContext implements " }, { "kind": "Reference", "text": "IProcessTelemetryContext", "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "types/JavaScriptSDK/ProcessTelemetryContext.d.ts", "releaseTag": "Public", "isAbstract": false, "name": "ProcessTelemetryContext", "preserveMemberOrder": false, "members": [ { "kind": "Constructor", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext:constructor(1)", "docComment": "/**\n * Creates a new Telemetry Item context with the current config, core and plugin execution chain\n *\n * @param plugins - The plugin instances that will be executed\n *\n * @param config - The current config\n *\n * @param core - The current core instance\n */\n", "excerptTokens": [ { "kind": "Content", "text": "constructor(pluginChain: " }, { "kind": "Reference", "text": "ITelemetryPluginChain", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface" }, { "kind": "Content", "text": ", config: " }, { "kind": "Reference", "text": "IConfiguration", "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface" }, { "kind": "Content", "text": ", core: " }, { "kind": "Reference", "text": "IAppInsightsCore", "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface" }, { "kind": "Content", "text": ", startAt?: " }, { "kind": "Reference", "text": "IPlugin", "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface" }, { "kind": "Content", "text": ");" } ], "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "pluginChain", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "config", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "core", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false }, { "parameterName": "startAt", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "isOptional": true } ] }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#core:member", "docComment": "/**\n * Returns the IAppInsightsCore instance for the current request\n */\n", "excerptTokens": [ { "kind": "Content", "text": "core: " }, { "kind": "Content", "text": "() => " }, { "kind": "Reference", "text": "IAppInsightsCore", "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "core", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#createNew:member", "docComment": "/**\n * Create a new context using the core and config from the current instance\n *\n * @param plugins - The execution order to process the plugins, if null or not supplied then the current execution order will be copied.\n *\n * @param startAt - The plugin to start processing from, if missing from the execution order then the next plugin will be NOT set.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "createNew: " }, { "kind": "Content", "text": "(plugins?: " }, { "kind": "Reference", "text": "IPlugin", "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface" }, { "kind": "Content", "text": "[] | " }, { "kind": "Reference", "text": "ITelemetryPluginChain", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface" }, { "kind": "Content", "text": ", startAt?: " }, { "kind": "Reference", "text": "IPlugin", "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface" }, { "kind": "Content", "text": ") => " }, { "kind": "Reference", "text": "IProcessTelemetryContext", "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "createNew", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 9 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#diagLog:member", "docComment": "/**\n * Returns the current IDiagnosticsLogger for the current request\n */\n", "excerptTokens": [ { "kind": "Content", "text": "diagLog: " }, { "kind": "Content", "text": "() => " }, { "kind": "Reference", "text": "IDiagnosticLogger", "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "diagLog", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#getCfg:member", "docComment": "/**\n * Gets the current core config instance\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCfg: " }, { "kind": "Content", "text": "() => " }, { "kind": "Reference", "text": "IConfiguration", "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "getCfg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#getConfig:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getConfig: " }, { "kind": "Content", "text": "(identifier: string, field: string, defaultValue?: number | string | boolean | string[] | " }, { "kind": "Reference", "text": "RegExp", "canonicalReference": "!RegExp:interface" }, { "kind": "Content", "text": "[] | " }, { "kind": "Reference", "text": "Function", "canonicalReference": "!Function:interface" }, { "kind": "Content", "text": ") => number | string | boolean | string[] | " }, { "kind": "Reference", "text": "RegExp", "canonicalReference": "!RegExp:interface" }, { "kind": "Content", "text": "[] | " }, { "kind": "Reference", "text": "Function", "canonicalReference": "!Function:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "getConfig", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 9 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#getExtCfg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getExtCfg: " }, { "kind": "Content", "text": "(identifier: string, defaultValue?: T | any) => T" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "getExtCfg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#getNext:member", "docComment": "/**\n * Returns the next configured plugin proxy\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getNext: " }, { "kind": "Content", "text": "() => " }, { "kind": "Reference", "text": "ITelemetryPluginChain", "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "getNext", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#hasNext:member", "docComment": "/**\n * Helper to allow inherited classes to check and possibly shortcut executing code only required if there is a nextPlugin\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hasNext: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hasNext", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#iterate:member", "docComment": "/**\n * Synchronously iterate over the context chain running the callback for each plugin, once every plugin has been executed via the callback, any associated onComplete will be called.\n *\n * @param callback - The function call for each plugin in the context chain\n */\n", "excerptTokens": [ { "kind": "Content", "text": "iterate: " }, { "kind": "Content", "text": "(callback: (plugin: T) => void) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "iterate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#onComplete:member", "docComment": "/**\n * Set the function to call when the current chain has executed all processNext or unloadNext items.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "onComplete: " }, { "kind": "Content", "text": "(onComplete: () => void) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onComplete", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#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 * @returns boolean (true) if there is no more plugins to process otherwise false or undefined (void)\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": ") => boolean | void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "processNext", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "@microsoft/applicationinsights-core-js!ProcessTelemetryContext#setNext:member", "docComment": "/**\n * Helper to set the next plugin proxy\n */\n", "excerptTokens": [ { "kind": "Content", "text": "setNext: " }, { "kind": "Content", "text": "(nextCtx: " }, { "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": "setNext", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "implementsTokenRanges": [ { "startIndex": 1, "endIndex": 2 } ] }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!proxyAssign:function(1)", "docComment": "/**\n * Effectively assigns all enumerable properties (not just own properties) and functions (including inherited prototype) from the source object to the target, it attempts to use proxy getters / setters (if possible) and proxy functions to avoid potential implementation issues by assigning prototype functions as instance ones\n *\n * This method is the primary method used to \"update\" the snippet proxy with the ultimate implementations.\n *\n * Special ES3 Notes: Updates (setting) of direct property values on the target or indirectly on the source object WILL NOT WORK PROPERLY, updates to the properties of \"referenced\" object will work (target.context.newValue = 10 => will be reflected in the source.context as it's the same object). ES3 Failures: assigning target.myProp = 3 -> Won't change source.myProp = 3, likewise the reverse would also fail.\n *\n * @param target - The target object to be assigned with the source properties and functions\n *\n * @param source - The source object which will be assigned / called by setting / calling the targets proxies\n *\n * @param chkSet - An optional callback to determine whether a specific property/function should be proxied\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function proxyAssign(target: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ", source: " }, { "kind": "Content", "text": "S" }, { "kind": "Content", "text": ", chkSet?: " }, { "kind": "Content", "text": "(name: string, isFunc?: boolean, source?: S, target?: T) => boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "source", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "chkSet", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": true } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } }, { "typeParameterName": "S", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "proxyAssign" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!proxyFunctionAs:function(1)", "docComment": "/**\n * Creates a proxy function on the target which internally will call the source version with all arguments passed to the target method.\n *\n * @param target - The target object to be assigned with the source properties and functions\n *\n * @param name - The function name that will be added on the target\n *\n * @param source - The source object which will be assigned / called by setting / calling the targets proxies\n *\n * @param theFunc - The function name on the source that will be proxied on the target\n *\n * @param overwriteTarget - If `false` this will not replace any pre-existing name otherwise (the default) it will overwrite any existing name\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function proxyFunctionAs(target: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", source: " }, { "kind": "Content", "text": "S | (() => S)" }, { "kind": "Content", "text": ", theFunc: " }, { "kind": "Content", "text": "(keyof S)" }, { "kind": "Content", "text": ", overwriteTarget?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 11, "endIndex": 12 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "source", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false }, { "parameterName": "theFunc", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "isOptional": false }, { "parameterName": "overwriteTarget", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "isOptional": true } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } }, { "typeParameterName": "S", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "proxyFunctionAs" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!proxyFunctions:function(1)", "docComment": "/**\n * Creates proxy functions on the target which internally will call the source version with all arguments passed to the target method.\n *\n * @param target - The target object to be assigned with the source properties and functions\n *\n * @param source - The source object which will be assigned / called by setting / calling the targets proxies\n *\n * @param functionsToProxy - An array of function names that will be proxied on the target\n *\n * @param overwriteTarget - If false this will not replace any pre-existing name otherwise (the default) it will overwrite any existing name\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function proxyFunctions(target: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ", source: " }, { "kind": "Content", "text": "S | (() => S)" }, { "kind": "Content", "text": ", functionsToProxy: " }, { "kind": "Content", "text": "(keyof S)[]" }, { "kind": "Content", "text": ", overwriteTarget?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "source", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "functionsToProxy", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false }, { "parameterName": "overwriteTarget", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "isOptional": true } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } }, { "typeParameterName": "S", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "proxyFunctions" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!random32:function(1)", "docComment": "/**\n * generate a random 32-bit number (0x000000..0xFFFFFFFF) or (-0x80000000..0x7FFFFFFF), defaults un-unsigned.\n *\n * @param signed - True to return a signed 32-bit number (-0x80000000..0x7FFFFFFF) otherwise an unsigned one (0x000000..0xFFFFFFFF)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function random32(signed?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/RandomHelper.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "signed", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": true } ], "name": "random32" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!randomValue:function(1)", "docComment": "/**\n * Generate a random value between 0 and maxValue, max value should be limited to a 32-bit maximum. So maxValue(16) will produce a number from 0..16 (range of 17)\n *\n * @param maxValue - \n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function randomValue(maxValue: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/RandomHelper.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "maxValue", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "randomValue" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!removeEventHandler:function(1)", "docComment": "/**\n * Trys to remove event handler(s) for the specified event/namespace to the window, body and document\n *\n * @param eventName - The name of the event, with optional namespaces or just the namespaces, such as \"click\", \"click.mynamespace\" or \".mynamespace\"\n *\n * @param callback - - The callback function that needs to be removed from the given event, when using a namespace (with or without a qualifying event) this may be null to remove all previously attached event handlers otherwise this will only remove events with this specific handler.\n *\n * @param evtNamespace - [Optional] Namespace(s) to append to the event listeners so they can be uniquely identified and removed based on this namespace.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function removeEventHandler(eventName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", callback: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ", evtNamespace?: " }, { "kind": "Content", "text": "string | string[] | null" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EventHelpers.d.ts", "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "eventName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "callback", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "evtNamespace", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": true } ], "name": "removeEventHandler" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!removeEventListeners:function(1)", "docComment": "/**\n * Remove the listener from the array of events\n *\n * @param events - An string array of event names to bind the listener to\n *\n * @param listener - The event callback to call when the event is triggered\n *\n * @param evtNamespace - [Optional] Namespace(s) to append to the event listeners so they can be uniquely identified and removed based on this namespace.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function removeEventListeners(events: " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ", listener: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ", evtNamespace?: " }, { "kind": "Content", "text": "string | string[]" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EventHelpers.d.ts", "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "events", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "listener", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "evtNamespace", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": true } ], "name": "removeEventListeners" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!removePageHideEventListener:function(1)", "docComment": "/**\n * Removes the pageHide event listeners added by addPageHideEventListener, because the 'visibilitychange' uses an internal proxy to detect the visibility state you SHOULD use a unique namespace when calling addPageHideEventListener as the remove ignores the listener argument for the 'visibilitychange' event.\n *\n * @param listener - The specific listener to remove for the 'pageshow' event only (ignored for 'visibilitychange')\n *\n * @param evtNamespace - The unique namespace used when calling addPageShowEventListener\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function removePageHideEventListener(listener: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ", evtNamespace?: " }, { "kind": "Content", "text": "string | string[] | null" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EventHelpers.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "listener", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "evtNamespace", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true } ], "name": "removePageHideEventListener" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!removePageShowEventListener:function(1)", "docComment": "/**\n * Removes the pageShow event listeners added by addPageShowEventListener, because the 'visibilitychange' uses an internal proxy to detect the visibility state you SHOULD use a unique namespace when calling addPageShowEventListener as the remove ignores the listener argument for the 'visibilitychange' event.\n *\n * @param listener - The specific listener to remove for the 'pageshow' event only (ignored for 'visibilitychange')\n *\n * @param evtNamespace - The unique namespace used when calling addPageShowEventListener\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function removePageShowEventListener(listener: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ", evtNamespace?: " }, { "kind": "Content", "text": "string | string[] | null" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EventHelpers.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "listener", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "evtNamespace", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true } ], "name": "removePageShowEventListener" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!removePageUnloadEventListener:function(1)", "docComment": "/**\n * Remove any matching 'beforeunload', 'unload' and 'pagehide' events that may have been added via addEventListener, addEventListeners, addPageUnloadEventListener or addPageHideEventListener.\n *\n * @param listener - The specific event callback to to be removed\n *\n * @param evtNamespace - [Optional] Namespace(s) uniquely identified and removed based on this namespace.\n *\n * @returns true - when at least one of the events was registered otherwise false\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function removePageUnloadEventListener(listener: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ", evtNamespace?: " }, { "kind": "Content", "text": "string | string[]" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EventHelpers.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "listener", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "evtNamespace", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true } ], "name": "removePageUnloadEventListener" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!safeGetCookieMgr:function(1)", "docComment": "/**\n * Helper to return the ICookieMgr from the core (if not null/undefined) or a default implementation associated with the configuration or a legacy default.\n *\n * @param core - \n *\n * @param config - \n *\n * @returns \n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function safeGetCookieMgr(core: " }, { "kind": "Reference", "text": "IAppInsightsCore", "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface" }, { "kind": "Content", "text": ", config?: " }, { "kind": "Reference", "text": "IConfiguration", "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "ICookieMgr", "canonicalReference": "@microsoft/applicationinsights-core-js!ICookieMgr:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/CookieMgr.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "core", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "config", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true } ], "name": "safeGetCookieMgr" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!safeGetLogger:function(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare function safeGetLogger(core: " }, { "kind": "Reference", "text": "IAppInsightsCore", "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface" }, { "kind": "Content", "text": ", config?: " }, { "kind": "Reference", "text": "IConfiguration", "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "IDiagnosticLogger", "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/DiagnosticLogger.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "core", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "config", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true } ], "name": "safeGetLogger" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!sendCustomEvent:function(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare function sendCustomEvent(evtName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", cfg?: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ", customDetails?: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EnvUtils.d.ts", "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "evtName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "cfg", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true }, { "parameterName": "customDetails", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": true } ], "name": "sendCustomEvent" }, { "kind": "Enum", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason:enum", "docComment": "/**\n * The EventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare const enum SendRequestReason " } ], "fileUrlPath": "types/JavaScriptSDK.Enums/SendRequestReason.d.ts", "releaseTag": "Public", "name": "SendRequestReason", "preserveMemberOrder": false, "members": [ { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.ManualFlush:member", "docComment": "/**\n * A manual flush request was received\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ManualFlush = " }, { "kind": "Content", "text": "1" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "ManualFlush" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.MaxBatchSize:member", "docComment": "/**\n * Maximum batch size would be exceeded\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxBatchSize = " }, { "kind": "Content", "text": "10" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "MaxBatchSize" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.MaxQueuedEvents:member", "docComment": "/**\n * The Maximum number of events have already been queued\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxQueuedEvents = " }, { "kind": "Content", "text": "20" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "MaxQueuedEvents" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.NormalSchedule:member", "docComment": "/**\n * Events are being sent based on the normal event schedule / timer.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "NormalSchedule = " }, { "kind": "Content", "text": "1" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "NormalSchedule" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.Resumed:member", "docComment": "/**\n * The Channel was resumed\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Resumed = " }, { "kind": "Content", "text": "4" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "Resumed" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.Retry:member", "docComment": "/**\n * The event(s) being sent as a retry\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Retry = " }, { "kind": "Content", "text": "5" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "Retry" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.SdkUnload:member", "docComment": "/**\n * The SDK is unloading\n */\n", "excerptTokens": [ { "kind": "Content", "text": "SdkUnload = " }, { "kind": "Content", "text": "6" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "SdkUnload" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.SyncEvent:member", "docComment": "/**\n * The event(s) being sent are sync events\n */\n", "excerptTokens": [ { "kind": "Content", "text": "SyncEvent = " }, { "kind": "Content", "text": "3" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "SyncEvent" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.Undefined:member", "docComment": "/**\n * No specific reason was specified\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Undefined = " }, { "kind": "Content", "text": "0" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "Undefined" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason.Unload:member", "docComment": "/**\n * Unload event is being processed\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Unload = " }, { "kind": "Content", "text": "2" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "Unload" } ] }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!setCookie:function(1)", "docComment": "/**\n * @deprecated\n *\n * - Use the core.getCookieMgr().set() helper method to set userId and sessionId cookie\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function setCookie(logger: " }, { "kind": "Reference", "text": "IDiagnosticLogger", "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", value: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", domain?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/CoreUtils.d.ts", "returnTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "logger", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false }, { "parameterName": "domain", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "isOptional": true } ], "name": "setCookie" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!setEnableEnvMocks:function(1)", "docComment": "/**\n * Enable the lookup of test mock objects if requested\n *\n * @param enabled - \n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function setEnableEnvMocks(enabled: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EnvUtils.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "enabled", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "setEnableEnvMocks" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!setGblPerfMgr:function(1)", "docComment": "/**\n * Set the global performance manager to use when there is no core instance or it has not been initialized yet.\n *\n * @param perfManager - The IPerfManager instance to use when no performance manager is supplied.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function setGblPerfMgr(perfManager: " }, { "kind": "Reference", "text": "IPerfManager", "canonicalReference": "@microsoft/applicationinsights-core-js!IPerfManager:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/PerfManager.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "perfManager", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "setGblPerfMgr" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!setValue:function(1)", "docComment": "/**\n * Sets the provided value on the target instance using the field name when the provided chk function returns true, the chk function will only be called if the new value is no equal to the original value.\n *\n * @param target - The target object\n *\n * @param field - The key of the target\n *\n * @param value - The value to set\n *\n * @param valChk - [Optional] Callback to check the value that if supplied will be called check if the new value can be set\n *\n * @param srcChk - [Optional] Callback to check to original value that if supplied will be called if the new value should be set (if allowed)\n *\n * @returns The existing or new value, depending what was set\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function setValue(target: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": ", field: " }, { "kind": "Content", "text": "K" }, { "kind": "Content", "text": ", value: " }, { "kind": "Content", "text": "T[K]" }, { "kind": "Content", "text": ", valChk?: " }, { "kind": "Content", "text": "((value: T[K]) => boolean) | null" }, { "kind": "Content", "text": ", srcChk?: " }, { "kind": "Content", "text": "((value: T[K]) => boolean) | null" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "T[K]" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 13, "endIndex": 14 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "field", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false }, { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "isOptional": false }, { "parameterName": "valChk", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "isOptional": true }, { "parameterName": "srcChk", "parameterTypeTokenRange": { "startIndex": 11, "endIndex": 12 }, "isOptional": true } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } }, { "typeParameterName": "K", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "setValue" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!sortPlugins:function(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare function sortPlugins(plugins: " }, { "kind": "Content", "text": "T[]" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "T[]" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/TelemetryHelpers.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "plugins", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "sortPlugins" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!strContains:function(1)", "docComment": "/**\n * A simple wrapper (for minification support) to check if the value contains the search string.\n *\n * @param value - The string value to check for the existence of the search value\n *\n * @param search - The value search within the value\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function strContains(value: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", search: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "search", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "name": "strContains" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!strEndsWith:function(1)", "docComment": "/**\n * The strEndsWith() method determines whether a string ends with the characters of a specified string, returning true or false as appropriate.\n *\n * @param value - The value to check whether it ends with the search value.\n *\n * @param search - The characters to be searched for at the end of the value.\n *\n * @returns true if the given search value is found at the end of the string, otherwise false.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function strEndsWith(value: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", search: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "search", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "name": "strEndsWith" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!strStartsWith:function(1)", "docComment": "/**\n * The strStartsWith() method determines whether a string starts with the characters of the specified string, returning true or false as appropriate.\n *\n * @param value - The value to check whether it ends with the search value.\n *\n * @param checkValue - The characters to be searched for at the start of the value.\n *\n * @returns true if the given search value is found at the start of the string, otherwise false.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function strStartsWith(value: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", checkValue: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "checkValue", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "name": "strStartsWith" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!strTrim:function(1)", "docComment": "/**\n * helper method to trim strings (IE8 does not implement String.prototype.trim)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function strTrim(str: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "str", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "strTrim" }, { "kind": "Interface", "canonicalReference": "@microsoft/applicationinsights-core-js!Tags:interface", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export interface Tags " } ], "fileUrlPath": "types/JavaScriptSDK.Interfaces/ITelemetryItem.d.ts", "releaseTag": "Public", "name": "Tags", "preserveMemberOrder": false, "members": [ { "kind": "IndexSignature", "canonicalReference": "@microsoft/applicationinsights-core-js!Tags:index(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "[key: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "]: " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "key", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ] } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryInitializerFunction:type", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare type TelemetryInitializerFunction = " }, { "kind": "Content", "text": "(item: T) => boolean | void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK.Interfaces/ITelemetryInitializers.d.ts", "releaseTag": "Public", "name": "TelemetryInitializerFunction", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Enum", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason:enum", "docComment": "/**\n * The TelemetryUnloadReason enumeration contains the possible reasons for why a plugin is being unloaded / torndown().\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare const enum TelemetryUnloadReason " } ], "fileUrlPath": "types/JavaScriptSDK.Enums/TelemetryUnloadReason.d.ts", "releaseTag": "Public", "name": "TelemetryUnloadReason", "preserveMemberOrder": false, "members": [ { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason.ManualTeardown:member", "docComment": "/**\n * Teardown has been called without any context.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ManualTeardown = " }, { "kind": "Content", "text": "0" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "ManualTeardown" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason.PluginReplace:member", "docComment": "/**\n * This instance of the plugin is being removed and replaced\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PluginReplace = " }, { "kind": "Content", "text": "2" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "PluginReplace" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason.PluginUnload:member", "docComment": "/**\n * Just this plugin is being removed\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PluginUnload = " }, { "kind": "Content", "text": "1" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "PluginUnload" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUnloadReason.SdkUnload:member", "docComment": "/**\n * The entire SDK is being unloaded\n */\n", "excerptTokens": [ { "kind": "Content", "text": "SdkUnload = " }, { "kind": "Content", "text": "50" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "SdkUnload" } ] }, { "kind": "Enum", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUpdateReason:enum", "docComment": "/**\n * The TelemetryUpdateReason enumeration contains a set of bit-wise values that specify the reason for update request.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare const enum TelemetryUpdateReason " } ], "fileUrlPath": "types/JavaScriptSDK.Enums/TelemetryUpdateReason.d.ts", "releaseTag": "Public", "name": "TelemetryUpdateReason", "preserveMemberOrder": false, "members": [ { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUpdateReason.PluginAdded:member", "docComment": "/**\n * One or more plugins have been added\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PluginAdded = " }, { "kind": "Content", "text": "16" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "PluginAdded" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUpdateReason.PluginRemoved:member", "docComment": "/**\n * One or more plugins have been removed\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PluginRemoved = " }, { "kind": "Content", "text": "32" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "PluginRemoved" }, { "kind": "EnumMember", "canonicalReference": "@microsoft/applicationinsights-core-js!TelemetryUpdateReason.Unknown:member", "docComment": "/**\n * Unknown.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "Unknown = " }, { "kind": "Content", "text": "0" } ], "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "name": "Unknown" } ] }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!throwError:function(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare function throwError(message: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "never" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "message", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "throwError" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!toISOString:function(1)", "docComment": "/**\n * Convert a date to I.S.O. format in IE8\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function toISOString(date: " }, { "kind": "Reference", "text": "Date", "canonicalReference": "!Date:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "date", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "toISOString" }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!uaDisallowsSameSiteNone:function(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare function uaDisallowsSameSiteNone(userAgent: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/CookieMgr.d.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "userAgent", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "uaDisallowsSameSiteNone" }, { "kind": "Variable", "canonicalReference": "@microsoft/applicationinsights-core-js!Undefined:var", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "Undefined = " }, { "kind": "Content", "text": "\"undefined\"" } ], "fileUrlPath": "types/JavaScriptSDK/CoreUtils.d.ts", "initializerTokenRange": { "startIndex": 1, "endIndex": 2 }, "isReadonly": true, "releaseTag": "Public", "name": "Undefined", "variableTypeTokenRange": { "startIndex": 0, "endIndex": 0 } }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!unloadComponents:function(1)", "docComment": "/**\n * Teardown / Unload helper to perform teardown/unloading operations for the provided components synchronously or asynchronously, this will call any _doTeardown() or _doUnload() functions on the provided components to allow them to finish removal.\n *\n * @param components - The components you want to unload\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 * @param asyncCallback - An optional callback that the plugin must call if it returns true to inform the caller that it has completed any async unload/teardown operations.\n *\n * @returns boolean - true if the plugin has or will call asyncCallback, this allows the plugin to perform any asynchronous operations.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function unloadComponents(components: " }, { "kind": "Content", "text": "any | " }, { "kind": "Reference", "text": "IUnloadableComponent", "canonicalReference": "@microsoft/applicationinsights-core-js!IUnloadableComponent:interface" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ", 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": ", asyncCallback?: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void | boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/TelemetryHelpers.d.ts", "returnTypeTokenRange": { "startIndex": 11, "endIndex": 12 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "components", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": false }, { "parameterName": "unloadCtx", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": true }, { "parameterName": "unloadState", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "isOptional": true }, { "parameterName": "asyncCallback", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "isOptional": true } ], "name": "unloadComponents" }, { "kind": "TypeAlias", "canonicalReference": "@microsoft/applicationinsights-core-js!UnloadHandler:type", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export type UnloadHandler = " }, { "kind": "Content", "text": "(itemCtx: " }, { "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": ") => void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/UnloadHandlerContainer.d.ts", "releaseTag": "Public", "name": "UnloadHandler", "typeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "@microsoft/applicationinsights-core-js!useXDomainRequest:function(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "export declare function useXDomainRequest(): " }, { "kind": "Content", "text": "boolean | undefined" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "types/JavaScriptSDK/EnvUtils.d.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useXDomainRequest" } ] } ] }