@microsoft/applicationinsights-react-native
Version:
Microsoft Application Insights React Native Plugin
1,150 lines (1,149 loc) • 40.4 kB
JSON
{
"metadata": {
"toolPackage": "@microsoft/api-extractor",
"toolVersion": "7.52.9",
"schemaVersion": 1011,
"oldestForwardsCompatibleVersion": 1001,
"tsdocConfig": {
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
"noStandardTags": true,
"tagDefinitions": [
{
"tagName": "@alpha",
"syntaxKind": "modifier"
},
{
"tagName": "@beta",
"syntaxKind": "modifier"
},
{
"tagName": "@defaultValue",
"syntaxKind": "block"
},
{
"tagName": "@decorator",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@deprecated",
"syntaxKind": "block"
},
{
"tagName": "@eventProperty",
"syntaxKind": "modifier"
},
{
"tagName": "@example",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@experimental",
"syntaxKind": "modifier"
},
{
"tagName": "@inheritDoc",
"syntaxKind": "inline"
},
{
"tagName": "@internal",
"syntaxKind": "modifier"
},
{
"tagName": "@label",
"syntaxKind": "inline"
},
{
"tagName": "@link",
"syntaxKind": "inline",
"allowMultiple": true
},
{
"tagName": "@override",
"syntaxKind": "modifier"
},
{
"tagName": "@packageDocumentation",
"syntaxKind": "modifier"
},
{
"tagName": "@param",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@privateRemarks",
"syntaxKind": "block"
},
{
"tagName": "@public",
"syntaxKind": "modifier"
},
{
"tagName": "@readonly",
"syntaxKind": "modifier"
},
{
"tagName": "@remarks",
"syntaxKind": "block"
},
{
"tagName": "@returns",
"syntaxKind": "block"
},
{
"tagName": "@sealed",
"syntaxKind": "modifier"
},
{
"tagName": "@see",
"syntaxKind": "block"
},
{
"tagName": "@throws",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@typeParam",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@virtual",
"syntaxKind": "modifier"
},
{
"tagName": "@betaDocumentation",
"syntaxKind": "modifier"
},
{
"tagName": "@internalRemarks",
"syntaxKind": "block"
},
{
"tagName": "@preapproved",
"syntaxKind": "modifier"
}
],
"supportForTags": {
"@alpha": true,
"@beta": true,
"@defaultValue": true,
"@decorator": true,
"@deprecated": true,
"@eventProperty": true,
"@example": true,
"@experimental": true,
"@inheritDoc": true,
"@internal": true,
"@label": true,
"@link": true,
"@override": true,
"@packageDocumentation": true,
"@param": true,
"@privateRemarks": true,
"@public": true,
"@readonly": true,
"@remarks": true,
"@returns": true,
"@sealed": true,
"@see": true,
"@throws": true,
"@typeParam": true,
"@virtual": true,
"@betaDocumentation": true,
"@internalRemarks": true,
"@preapproved": true
},
"reportUnsupportedHtmlElements": false
}
},
"kind": "Package",
"canonicalReference": "@microsoft/applicationinsights-react-native!",
"docComment": "",
"name": "@microsoft/applicationinsights-react-native",
"preserveMemberOrder": false,
"members": [
{
"kind": "EntryPoint",
"canonicalReference": "@microsoft/applicationinsights-react-native!",
"name": "",
"preserveMemberOrder": false,
"members": [
{
"kind": "Function",
"canonicalReference": "@microsoft/applicationinsights-react-native!getReactNativeDeviceInfo:function(1)",
"docComment": "/**\n * Returns the \"react-native-device-info\" as the Device Info Module\n *\n * @returns \n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export declare function getReactNativeDeviceInfo(): "
},
{
"kind": "Reference",
"text": "IDeviceInfoModule",
"canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"fileUrlPath": "types/DeviceInfo/ReactNativeDeviceInfo.d.ts",
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getReactNativeDeviceInfo"
},
{
"kind": "Interface",
"canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule:interface",
"docComment": "/**\n * Interface to abstract how the plugin can access the Device Info, this is a stripped down version of the \"react-native-device-info\" interface and is mostly supplied for testing.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface IDeviceInfoModule "
}
],
"fileUrlPath": "types/Interfaces/IDeviceInfoModule.d.ts",
"releaseTag": "Public",
"name": "IDeviceInfoModule",
"preserveMemberOrder": false,
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule#getDeviceType:member",
"docComment": "/**\n * Returns the device type\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getDeviceType: "
},
{
"kind": "Content",
"text": "() => string"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": false,
"releaseTag": "Public",
"name": "getDeviceType",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule#getModel:member",
"docComment": "/**\n * Returns the Device Model\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getModel: "
},
{
"kind": "Content",
"text": "() => string"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": false,
"releaseTag": "Public",
"name": "getModel",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule#getUniqueId:member",
"docComment": "/**\n * Returns the unique Id for the device, to support both the current version and previous versions react-native-device-info, this may return either a `string` or `Promise<string>`, when a promise is returned the plugin will \"wait\" for the promise to `resolve` or `reject` before processing any events. This WILL cause telemetry to be BLOCKED until either of these states, so when returning a Promise it MUST `resolve` or `reject` it can't just never resolve. There is a default timeout configured via `uniqueIdPromiseTimeout` to automatically unblock event processing when this issue occurs.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getUniqueId: "
},
{
"kind": "Content",
"text": "() => "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<string> | string"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": false,
"releaseTag": "Public",
"name": "getUniqueId",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 4
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "@microsoft/applicationinsights-react-native!INativeDevice:interface",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface INativeDevice "
}
],
"fileUrlPath": "types/Interfaces/INativeDevice.d.ts",
"releaseTag": "Public",
"name": "INativeDevice",
"preserveMemberOrder": false,
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "@microsoft/applicationinsights-react-native!INativeDevice#deviceClass:member",
"docComment": "/**\n * Device type, e.g. Handset, Tablet, Tv\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "deviceClass?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": true,
"releaseTag": "Public",
"name": "deviceClass",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "@microsoft/applicationinsights-react-native!INativeDevice#id:member",
"docComment": "/**\n * Unique installation ID\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "id?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": true,
"releaseTag": "Public",
"name": "id",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "@microsoft/applicationinsights-react-native!INativeDevice#model:member",
"docComment": "/**\n * The device model: iPhone XS Max, Galaxy S10, etc\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "model?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": true,
"releaseTag": "Public",
"name": "model",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig:interface",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface IReactNativePluginConfig "
}
],
"fileUrlPath": "types/Interfaces/IReactNativePluginConfig.d.ts",
"releaseTag": "Public",
"name": "IReactNativePluginConfig",
"preserveMemberOrder": false,
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig#disableDeviceCollection:member",
"docComment": "/**\n * Disable automatic device collection\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "disableDeviceCollection?: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": true,
"releaseTag": "Public",
"name": "disableDeviceCollection",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig#disableExceptionCollection:member",
"docComment": "/**\n * Disable automatic exception collection\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "disableExceptionCollection?: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": true,
"releaseTag": "Public",
"name": "disableExceptionCollection",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig#uniqueIdPromiseTimeout:member",
"docComment": "/**\n * Timeout value to unblock the processing of events if the DeviceInfoModule returns a Promise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "uniqueIdPromiseTimeout?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": true,
"releaseTag": "Public",
"name": "uniqueIdPromiseTimeout",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Class",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin:class",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "export declare class ReactNativeManualDevicePlugin extends "
},
{
"kind": "Reference",
"text": "BaseTelemetryPlugin",
"canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin:class"
},
{
"kind": "Content",
"text": " "
}
],
"fileUrlPath": "types/ReactNativeManualDevicePlugin.d.ts",
"releaseTag": "Public",
"isAbstract": false,
"name": "ReactNativeManualDevicePlugin",
"preserveMemberOrder": false,
"members": [
{
"kind": "Property",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#_nextPlugin:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "_nextPlugin?: "
},
{
"kind": "Reference",
"text": "ITelemetryPlugin",
"canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": true,
"releaseTag": "Public",
"name": "_nextPlugin",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isStatic": false,
"isProtected": false,
"isAbstract": false
},
{
"kind": "Constructor",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin:constructor(1)",
"docComment": "/**\n * Constructs a new instance of the `ReactNativeManualDevicePlugin` class\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "constructor(config?: "
},
{
"kind": "Reference",
"text": "IReactNativePluginConfig",
"canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig:interface"
},
{
"kind": "Content",
"text": ");"
}
],
"releaseTag": "Public",
"isProtected": false,
"overloadIndex": 1,
"parameters": [
{
"parameterName": "config",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isOptional": true
}
]
},
{
"kind": "Method",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#getDeviceInfoModule:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "protected getDeviceInfoModule(_deviceInfoModule: "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "IDeviceInfoModule",
"canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isStatic": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"isProtected": true,
"overloadIndex": 1,
"parameters": [
{
"parameterName": "_deviceInfoModule",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isOptional": false
}
],
"isOptional": false,
"isAbstract": false,
"name": "getDeviceInfoModule"
},
{
"kind": "Property",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#identifier:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "identifier: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isReadonly": false,
"isOptional": false,
"releaseTag": "Public",
"name": "identifier",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isStatic": false,
"isProtected": false,
"isAbstract": false
},
{
"kind": "Method",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#initialize:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "initialize(config?: "
},
{
"kind": "Reference",
"text": "IReactNativePluginConfig",
"canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig:interface"
},
{
"kind": "Content",
"text": " | object"
},
{
"kind": "Content",
"text": ", // need `| object` to coerce to interface\n core?: "
},
{
"kind": "Reference",
"text": "IAppInsightsCore",
"canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
},
{
"kind": "Content",
"text": ", extensions?: "
},
{
"kind": "Reference",
"text": "IPlugin",
"canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isStatic": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
},
"releaseTag": "Public",
"isProtected": false,
"overloadIndex": 1,
"parameters": [
{
"parameterName": "config",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"isOptional": true
},
{
"parameterName": "core",
"parameterTypeTokenRange": {
"startIndex": 4,
"endIndex": 5
},
"isOptional": true
},
{
"parameterName": "extensions",
"parameterTypeTokenRange": {
"startIndex": 6,
"endIndex": 8
},
"isOptional": true
}
],
"isOptional": false,
"isAbstract": false,
"name": "initialize"
},
{
"kind": "Property",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#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": "Method",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#processTelemetry:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "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": false,
"name": "processTelemetry"
},
{
"kind": "Method",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#setDeviceId:member(1)",
"docComment": "/**\n * Manually set the deviceId, if set before initialization and automatic device info collection is enabled this value may get overwritten. If you want to keep this value disable auto collection by setting the `disableDeviceCollection` config to true.\n *\n * @param newId - The value to use as the device Id.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setDeviceId(newId: "
},
{
"kind": "Content",
"text": "string"
},
{
"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": "newId",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isOptional": false
}
],
"isOptional": false,
"isAbstract": false,
"name": "setDeviceId"
},
{
"kind": "Method",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#setDeviceInfoModule:member(1)",
"docComment": "/**\n * Set the module that will be used during initialization when collecting device is enabled (the default), automatic collection can be disabled via the `disableDeviceCollection` config. If no `deviceInfoModule` is set and collection is enabled, an error will be thrown.\n *\n * @param deviceInfoModule - \n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setDeviceInfoModule(deviceInfoModule: "
},
{
"kind": "Reference",
"text": "IDeviceInfoModule",
"canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule: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": "deviceInfoModule",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isOptional": false
}
],
"isOptional": false,
"isAbstract": false,
"name": "setDeviceInfoModule"
},
{
"kind": "Method",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#setDeviceModel:member(1)",
"docComment": "/**\n * Manually set the device model, if set before initialization and automatic device info collection is enabled this value may get overwritten. If you want to keep this value disable auto collection by setting the `disableDeviceCollection` config to true.\n *\n * @param newModel - The value to use as the device model.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setDeviceModel(newModel: "
},
{
"kind": "Content",
"text": "string"
},
{
"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": "newModel",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isOptional": false
}
],
"isOptional": false,
"isAbstract": false,
"name": "setDeviceModel"
},
{
"kind": "Method",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#setDeviceType:member(1)",
"docComment": "/**\n * Manually set the device type (class), if set before initialization and automatic device info collection is enabled this value may get overwritten. If you want to keep this value disable auto collection by setting the `disableDeviceCollection` config to true.\n *\n * @param newType - The value to use as the device type\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setDeviceType(newType: "
},
{
"kind": "Content",
"text": "string"
},
{
"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": "newType",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isOptional": false
}
],
"isOptional": false,
"isAbstract": false,
"name": "setDeviceType"
}
],
"extendsTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"implementsTokenRanges": []
},
{
"kind": "Class",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativePlugin:class",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "export declare class ReactNativePlugin extends "
},
{
"kind": "Reference",
"text": "ReactNativeManualDevicePlugin",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin:class"
},
{
"kind": "Content",
"text": " "
}
],
"fileUrlPath": "types/ReactNativePlugin.d.ts",
"releaseTag": "Public",
"isAbstract": false,
"name": "ReactNativePlugin",
"preserveMemberOrder": false,
"members": [
{
"kind": "Method",
"canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativePlugin#getDeviceInfoModule:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "protected getDeviceInfoModule(_deviceInfoModule: "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "IDeviceInfoModule",
"canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isStatic": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"isProtected": true,
"overloadIndex": 1,
"parameters": [
{
"parameterName": "_deviceInfoModule",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"isOptional": false
}
],
"isOptional": false,
"isAbstract": false,
"name": "getDeviceInfoModule"
}
],
"extendsTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"implementsTokenRanges": []
}
]
}
]
}