@microsoft/applicationinsights-react-native 4.3.4 → 4.3.5-nightly.2411-03

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/browser/applicationinsights-react-native.js +3133 -0
  2. package/browser/applicationinsights-react-native.js.map +1 -0
  3. package/browser/applicationinsights-react-native.min.js +6 -0
  4. package/browser/applicationinsights-react-native.min.js.map +1 -0
  5. package/dist/applicationinsights-react-native.api.json +1149 -0
  6. package/dist/applicationinsights-react-native.api.md +68 -0
  7. package/dist/applicationinsights-react-native.d.ts +126 -0
  8. package/dist/applicationinsights-react-native.js +3133 -0
  9. package/dist/applicationinsights-react-native.js.map +1 -0
  10. package/dist/applicationinsights-react-native.min.js +6 -0
  11. package/dist/applicationinsights-react-native.min.js.map +1 -0
  12. package/dist/applicationinsights-react-native.rollup.d.ts +131 -0
  13. package/dist-esm/DeviceInfo/DeviceModule.js +6 -2
  14. package/dist-esm/DeviceInfo/DeviceModule.js.map +1 -1
  15. package/dist-esm/DeviceInfo/ReactNativeDeviceInfo.js +6 -2
  16. package/dist-esm/DeviceInfo/ReactNativeDeviceInfo.js.map +1 -1
  17. package/dist-esm/Interfaces/IDeviceInfoModule.js +6 -2
  18. package/dist-esm/Interfaces/IDeviceInfoModule.js.map +1 -1
  19. package/dist-esm/Interfaces/INativeDevice.js +6 -2
  20. package/dist-esm/Interfaces/INativeDevice.js.map +1 -1
  21. package/dist-esm/Interfaces/IReactNativePluginConfig.js +4 -0
  22. package/dist-esm/Interfaces/IReactNativePluginConfig.js.map +1 -1
  23. package/dist-esm/Interfaces/index.js +6 -2
  24. package/dist-esm/Interfaces/index.js.map +1 -1
  25. package/dist-esm/ReactNativeManualDevicePlugin.js +13 -46
  26. package/dist-esm/ReactNativeManualDevicePlugin.js.map +1 -1
  27. package/dist-esm/ReactNativePlugin.js +7 -3
  28. package/dist-esm/ReactNativePlugin.js.map +1 -1
  29. package/dist-esm/index.js +6 -2
  30. package/dist-esm/index.js.map +1 -1
  31. package/dist-esm/manualIndex.js +6 -2
  32. package/dist-esm/manualIndex.js.map +1 -1
  33. package/package.json +100 -97
  34. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,1149 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.47.11",
5
+ "schemaVersion": 1011,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@betaDocumentation",
119
+ "syntaxKind": "modifier"
120
+ },
121
+ {
122
+ "tagName": "@internalRemarks",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@preapproved",
127
+ "syntaxKind": "modifier"
128
+ }
129
+ ],
130
+ "supportForTags": {
131
+ "@alpha": true,
132
+ "@beta": true,
133
+ "@defaultValue": true,
134
+ "@decorator": true,
135
+ "@deprecated": true,
136
+ "@eventProperty": true,
137
+ "@example": true,
138
+ "@experimental": true,
139
+ "@inheritDoc": true,
140
+ "@internal": true,
141
+ "@label": true,
142
+ "@link": true,
143
+ "@override": true,
144
+ "@packageDocumentation": true,
145
+ "@param": true,
146
+ "@privateRemarks": true,
147
+ "@public": true,
148
+ "@readonly": true,
149
+ "@remarks": true,
150
+ "@returns": true,
151
+ "@sealed": true,
152
+ "@see": true,
153
+ "@throws": true,
154
+ "@typeParam": true,
155
+ "@virtual": true,
156
+ "@betaDocumentation": true,
157
+ "@internalRemarks": true,
158
+ "@preapproved": true
159
+ },
160
+ "reportUnsupportedHtmlElements": false
161
+ }
162
+ },
163
+ "kind": "Package",
164
+ "canonicalReference": "@microsoft/applicationinsights-react-native!",
165
+ "docComment": "",
166
+ "name": "@microsoft/applicationinsights-react-native",
167
+ "preserveMemberOrder": false,
168
+ "members": [
169
+ {
170
+ "kind": "EntryPoint",
171
+ "canonicalReference": "@microsoft/applicationinsights-react-native!",
172
+ "name": "",
173
+ "preserveMemberOrder": false,
174
+ "members": [
175
+ {
176
+ "kind": "Function",
177
+ "canonicalReference": "@microsoft/applicationinsights-react-native!getReactNativeDeviceInfo:function(1)",
178
+ "docComment": "/**\n * Returns the \"react-native-device-info\" as the Device Info Module\n *\n * @returns \n */\n",
179
+ "excerptTokens": [
180
+ {
181
+ "kind": "Content",
182
+ "text": "export declare function getReactNativeDeviceInfo(): "
183
+ },
184
+ {
185
+ "kind": "Reference",
186
+ "text": "IDeviceInfoModule",
187
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule:interface"
188
+ },
189
+ {
190
+ "kind": "Content",
191
+ "text": ";"
192
+ }
193
+ ],
194
+ "fileUrlPath": "types/DeviceInfo/ReactNativeDeviceInfo.d.ts",
195
+ "returnTypeTokenRange": {
196
+ "startIndex": 1,
197
+ "endIndex": 2
198
+ },
199
+ "releaseTag": "Public",
200
+ "overloadIndex": 1,
201
+ "parameters": [],
202
+ "name": "getReactNativeDeviceInfo"
203
+ },
204
+ {
205
+ "kind": "Interface",
206
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule:interface",
207
+ "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",
208
+ "excerptTokens": [
209
+ {
210
+ "kind": "Content",
211
+ "text": "export interface IDeviceInfoModule "
212
+ }
213
+ ],
214
+ "fileUrlPath": "types/Interfaces/IDeviceInfoModule.d.ts",
215
+ "releaseTag": "Public",
216
+ "name": "IDeviceInfoModule",
217
+ "preserveMemberOrder": false,
218
+ "members": [
219
+ {
220
+ "kind": "PropertySignature",
221
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule#getDeviceType:member",
222
+ "docComment": "/**\n * Returns the device type\n */\n",
223
+ "excerptTokens": [
224
+ {
225
+ "kind": "Content",
226
+ "text": "getDeviceType: "
227
+ },
228
+ {
229
+ "kind": "Content",
230
+ "text": "() => string"
231
+ },
232
+ {
233
+ "kind": "Content",
234
+ "text": ";"
235
+ }
236
+ ],
237
+ "isReadonly": false,
238
+ "isOptional": false,
239
+ "releaseTag": "Public",
240
+ "name": "getDeviceType",
241
+ "propertyTypeTokenRange": {
242
+ "startIndex": 1,
243
+ "endIndex": 2
244
+ }
245
+ },
246
+ {
247
+ "kind": "PropertySignature",
248
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule#getModel:member",
249
+ "docComment": "/**\n * Returns the Device Model\n */\n",
250
+ "excerptTokens": [
251
+ {
252
+ "kind": "Content",
253
+ "text": "getModel: "
254
+ },
255
+ {
256
+ "kind": "Content",
257
+ "text": "() => string"
258
+ },
259
+ {
260
+ "kind": "Content",
261
+ "text": ";"
262
+ }
263
+ ],
264
+ "isReadonly": false,
265
+ "isOptional": false,
266
+ "releaseTag": "Public",
267
+ "name": "getModel",
268
+ "propertyTypeTokenRange": {
269
+ "startIndex": 1,
270
+ "endIndex": 2
271
+ }
272
+ },
273
+ {
274
+ "kind": "PropertySignature",
275
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule#getUniqueId:member",
276
+ "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",
277
+ "excerptTokens": [
278
+ {
279
+ "kind": "Content",
280
+ "text": "getUniqueId: "
281
+ },
282
+ {
283
+ "kind": "Content",
284
+ "text": "() => "
285
+ },
286
+ {
287
+ "kind": "Reference",
288
+ "text": "Promise",
289
+ "canonicalReference": "!Promise:interface"
290
+ },
291
+ {
292
+ "kind": "Content",
293
+ "text": "<string> | string"
294
+ },
295
+ {
296
+ "kind": "Content",
297
+ "text": ";"
298
+ }
299
+ ],
300
+ "isReadonly": false,
301
+ "isOptional": false,
302
+ "releaseTag": "Public",
303
+ "name": "getUniqueId",
304
+ "propertyTypeTokenRange": {
305
+ "startIndex": 1,
306
+ "endIndex": 4
307
+ }
308
+ }
309
+ ],
310
+ "extendsTokenRanges": []
311
+ },
312
+ {
313
+ "kind": "Interface",
314
+ "canonicalReference": "@microsoft/applicationinsights-react-native!INativeDevice:interface",
315
+ "docComment": "",
316
+ "excerptTokens": [
317
+ {
318
+ "kind": "Content",
319
+ "text": "export interface INativeDevice "
320
+ }
321
+ ],
322
+ "fileUrlPath": "types/Interfaces/INativeDevice.d.ts",
323
+ "releaseTag": "Public",
324
+ "name": "INativeDevice",
325
+ "preserveMemberOrder": false,
326
+ "members": [
327
+ {
328
+ "kind": "PropertySignature",
329
+ "canonicalReference": "@microsoft/applicationinsights-react-native!INativeDevice#deviceClass:member",
330
+ "docComment": "/**\n * Device type, e.g. Handset, Tablet, Tv\n */\n",
331
+ "excerptTokens": [
332
+ {
333
+ "kind": "Content",
334
+ "text": "deviceClass?: "
335
+ },
336
+ {
337
+ "kind": "Content",
338
+ "text": "string"
339
+ },
340
+ {
341
+ "kind": "Content",
342
+ "text": ";"
343
+ }
344
+ ],
345
+ "isReadonly": false,
346
+ "isOptional": true,
347
+ "releaseTag": "Public",
348
+ "name": "deviceClass",
349
+ "propertyTypeTokenRange": {
350
+ "startIndex": 1,
351
+ "endIndex": 2
352
+ }
353
+ },
354
+ {
355
+ "kind": "PropertySignature",
356
+ "canonicalReference": "@microsoft/applicationinsights-react-native!INativeDevice#id:member",
357
+ "docComment": "/**\n * Unique installation ID\n */\n",
358
+ "excerptTokens": [
359
+ {
360
+ "kind": "Content",
361
+ "text": "id?: "
362
+ },
363
+ {
364
+ "kind": "Content",
365
+ "text": "string"
366
+ },
367
+ {
368
+ "kind": "Content",
369
+ "text": ";"
370
+ }
371
+ ],
372
+ "isReadonly": false,
373
+ "isOptional": true,
374
+ "releaseTag": "Public",
375
+ "name": "id",
376
+ "propertyTypeTokenRange": {
377
+ "startIndex": 1,
378
+ "endIndex": 2
379
+ }
380
+ },
381
+ {
382
+ "kind": "PropertySignature",
383
+ "canonicalReference": "@microsoft/applicationinsights-react-native!INativeDevice#model:member",
384
+ "docComment": "/**\n * The device model: iPhone XS Max, Galaxy S10, etc\n */\n",
385
+ "excerptTokens": [
386
+ {
387
+ "kind": "Content",
388
+ "text": "model?: "
389
+ },
390
+ {
391
+ "kind": "Content",
392
+ "text": "string"
393
+ },
394
+ {
395
+ "kind": "Content",
396
+ "text": ";"
397
+ }
398
+ ],
399
+ "isReadonly": false,
400
+ "isOptional": true,
401
+ "releaseTag": "Public",
402
+ "name": "model",
403
+ "propertyTypeTokenRange": {
404
+ "startIndex": 1,
405
+ "endIndex": 2
406
+ }
407
+ }
408
+ ],
409
+ "extendsTokenRanges": []
410
+ },
411
+ {
412
+ "kind": "Interface",
413
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig:interface",
414
+ "docComment": "",
415
+ "excerptTokens": [
416
+ {
417
+ "kind": "Content",
418
+ "text": "export interface IReactNativePluginConfig "
419
+ }
420
+ ],
421
+ "fileUrlPath": "types/Interfaces/IReactNativePluginConfig.d.ts",
422
+ "releaseTag": "Public",
423
+ "name": "IReactNativePluginConfig",
424
+ "preserveMemberOrder": false,
425
+ "members": [
426
+ {
427
+ "kind": "PropertySignature",
428
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig#disableDeviceCollection:member",
429
+ "docComment": "/**\n * Disable automatic device collection\n */\n",
430
+ "excerptTokens": [
431
+ {
432
+ "kind": "Content",
433
+ "text": "disableDeviceCollection?: "
434
+ },
435
+ {
436
+ "kind": "Content",
437
+ "text": "boolean"
438
+ },
439
+ {
440
+ "kind": "Content",
441
+ "text": ";"
442
+ }
443
+ ],
444
+ "isReadonly": false,
445
+ "isOptional": true,
446
+ "releaseTag": "Public",
447
+ "name": "disableDeviceCollection",
448
+ "propertyTypeTokenRange": {
449
+ "startIndex": 1,
450
+ "endIndex": 2
451
+ }
452
+ },
453
+ {
454
+ "kind": "PropertySignature",
455
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig#disableExceptionCollection:member",
456
+ "docComment": "/**\n * Disable automatic exception collection\n */\n",
457
+ "excerptTokens": [
458
+ {
459
+ "kind": "Content",
460
+ "text": "disableExceptionCollection?: "
461
+ },
462
+ {
463
+ "kind": "Content",
464
+ "text": "boolean"
465
+ },
466
+ {
467
+ "kind": "Content",
468
+ "text": ";"
469
+ }
470
+ ],
471
+ "isReadonly": false,
472
+ "isOptional": true,
473
+ "releaseTag": "Public",
474
+ "name": "disableExceptionCollection",
475
+ "propertyTypeTokenRange": {
476
+ "startIndex": 1,
477
+ "endIndex": 2
478
+ }
479
+ },
480
+ {
481
+ "kind": "PropertySignature",
482
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig#uniqueIdPromiseTimeout:member",
483
+ "docComment": "/**\n * Timeout value to unblock the processing of events if the DeviceInfoModule returns a Promise.\n */\n",
484
+ "excerptTokens": [
485
+ {
486
+ "kind": "Content",
487
+ "text": "uniqueIdPromiseTimeout?: "
488
+ },
489
+ {
490
+ "kind": "Content",
491
+ "text": "number"
492
+ },
493
+ {
494
+ "kind": "Content",
495
+ "text": ";"
496
+ }
497
+ ],
498
+ "isReadonly": false,
499
+ "isOptional": true,
500
+ "releaseTag": "Public",
501
+ "name": "uniqueIdPromiseTimeout",
502
+ "propertyTypeTokenRange": {
503
+ "startIndex": 1,
504
+ "endIndex": 2
505
+ }
506
+ }
507
+ ],
508
+ "extendsTokenRanges": []
509
+ },
510
+ {
511
+ "kind": "Class",
512
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin:class",
513
+ "docComment": "",
514
+ "excerptTokens": [
515
+ {
516
+ "kind": "Content",
517
+ "text": "export declare class ReactNativeManualDevicePlugin extends "
518
+ },
519
+ {
520
+ "kind": "Reference",
521
+ "text": "BaseTelemetryPlugin",
522
+ "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin:class"
523
+ },
524
+ {
525
+ "kind": "Content",
526
+ "text": " "
527
+ }
528
+ ],
529
+ "fileUrlPath": "types/ReactNativeManualDevicePlugin.d.ts",
530
+ "releaseTag": "Public",
531
+ "isAbstract": false,
532
+ "name": "ReactNativeManualDevicePlugin",
533
+ "preserveMemberOrder": false,
534
+ "members": [
535
+ {
536
+ "kind": "Property",
537
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#_nextPlugin:member",
538
+ "docComment": "",
539
+ "excerptTokens": [
540
+ {
541
+ "kind": "Content",
542
+ "text": "_nextPlugin?: "
543
+ },
544
+ {
545
+ "kind": "Reference",
546
+ "text": "ITelemetryPlugin",
547
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPlugin:interface"
548
+ },
549
+ {
550
+ "kind": "Content",
551
+ "text": ";"
552
+ }
553
+ ],
554
+ "isReadonly": false,
555
+ "isOptional": true,
556
+ "releaseTag": "Public",
557
+ "name": "_nextPlugin",
558
+ "propertyTypeTokenRange": {
559
+ "startIndex": 1,
560
+ "endIndex": 2
561
+ },
562
+ "isStatic": false,
563
+ "isProtected": false,
564
+ "isAbstract": false
565
+ },
566
+ {
567
+ "kind": "Constructor",
568
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin:constructor(1)",
569
+ "docComment": "/**\n * Constructs a new instance of the `ReactNativeManualDevicePlugin` class\n */\n",
570
+ "excerptTokens": [
571
+ {
572
+ "kind": "Content",
573
+ "text": "constructor(config?: "
574
+ },
575
+ {
576
+ "kind": "Reference",
577
+ "text": "IReactNativePluginConfig",
578
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig:interface"
579
+ },
580
+ {
581
+ "kind": "Content",
582
+ "text": ");"
583
+ }
584
+ ],
585
+ "releaseTag": "Public",
586
+ "isProtected": false,
587
+ "overloadIndex": 1,
588
+ "parameters": [
589
+ {
590
+ "parameterName": "config",
591
+ "parameterTypeTokenRange": {
592
+ "startIndex": 1,
593
+ "endIndex": 2
594
+ },
595
+ "isOptional": true
596
+ }
597
+ ]
598
+ },
599
+ {
600
+ "kind": "Method",
601
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#getDeviceInfoModule:member(1)",
602
+ "docComment": "",
603
+ "excerptTokens": [
604
+ {
605
+ "kind": "Content",
606
+ "text": "protected getDeviceInfoModule(_deviceInfoModule: "
607
+ },
608
+ {
609
+ "kind": "Content",
610
+ "text": "any"
611
+ },
612
+ {
613
+ "kind": "Content",
614
+ "text": "): "
615
+ },
616
+ {
617
+ "kind": "Reference",
618
+ "text": "IDeviceInfoModule",
619
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule:interface"
620
+ },
621
+ {
622
+ "kind": "Content",
623
+ "text": ";"
624
+ }
625
+ ],
626
+ "isStatic": false,
627
+ "returnTypeTokenRange": {
628
+ "startIndex": 3,
629
+ "endIndex": 4
630
+ },
631
+ "releaseTag": "Public",
632
+ "isProtected": true,
633
+ "overloadIndex": 1,
634
+ "parameters": [
635
+ {
636
+ "parameterName": "_deviceInfoModule",
637
+ "parameterTypeTokenRange": {
638
+ "startIndex": 1,
639
+ "endIndex": 2
640
+ },
641
+ "isOptional": false
642
+ }
643
+ ],
644
+ "isOptional": false,
645
+ "isAbstract": false,
646
+ "name": "getDeviceInfoModule"
647
+ },
648
+ {
649
+ "kind": "Property",
650
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#identifier:member",
651
+ "docComment": "",
652
+ "excerptTokens": [
653
+ {
654
+ "kind": "Content",
655
+ "text": "identifier: "
656
+ },
657
+ {
658
+ "kind": "Content",
659
+ "text": "string"
660
+ },
661
+ {
662
+ "kind": "Content",
663
+ "text": ";"
664
+ }
665
+ ],
666
+ "isReadonly": false,
667
+ "isOptional": false,
668
+ "releaseTag": "Public",
669
+ "name": "identifier",
670
+ "propertyTypeTokenRange": {
671
+ "startIndex": 1,
672
+ "endIndex": 2
673
+ },
674
+ "isStatic": false,
675
+ "isProtected": false,
676
+ "isAbstract": false
677
+ },
678
+ {
679
+ "kind": "Method",
680
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#initialize:member(1)",
681
+ "docComment": "",
682
+ "excerptTokens": [
683
+ {
684
+ "kind": "Content",
685
+ "text": "initialize(config?: "
686
+ },
687
+ {
688
+ "kind": "Reference",
689
+ "text": "IReactNativePluginConfig",
690
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IReactNativePluginConfig:interface"
691
+ },
692
+ {
693
+ "kind": "Content",
694
+ "text": " | object"
695
+ },
696
+ {
697
+ "kind": "Content",
698
+ "text": ", // need `| object` to coerce to interface\n core?: "
699
+ },
700
+ {
701
+ "kind": "Reference",
702
+ "text": "IAppInsightsCore",
703
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
704
+ },
705
+ {
706
+ "kind": "Content",
707
+ "text": ", extensions?: "
708
+ },
709
+ {
710
+ "kind": "Reference",
711
+ "text": "IPlugin",
712
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
713
+ },
714
+ {
715
+ "kind": "Content",
716
+ "text": "[]"
717
+ },
718
+ {
719
+ "kind": "Content",
720
+ "text": "): "
721
+ },
722
+ {
723
+ "kind": "Content",
724
+ "text": "void"
725
+ },
726
+ {
727
+ "kind": "Content",
728
+ "text": ";"
729
+ }
730
+ ],
731
+ "isStatic": false,
732
+ "returnTypeTokenRange": {
733
+ "startIndex": 9,
734
+ "endIndex": 10
735
+ },
736
+ "releaseTag": "Public",
737
+ "isProtected": false,
738
+ "overloadIndex": 1,
739
+ "parameters": [
740
+ {
741
+ "parameterName": "config",
742
+ "parameterTypeTokenRange": {
743
+ "startIndex": 1,
744
+ "endIndex": 3
745
+ },
746
+ "isOptional": true
747
+ },
748
+ {
749
+ "parameterName": "core",
750
+ "parameterTypeTokenRange": {
751
+ "startIndex": 4,
752
+ "endIndex": 5
753
+ },
754
+ "isOptional": true
755
+ },
756
+ {
757
+ "parameterName": "extensions",
758
+ "parameterTypeTokenRange": {
759
+ "startIndex": 6,
760
+ "endIndex": 8
761
+ },
762
+ "isOptional": true
763
+ }
764
+ ],
765
+ "isOptional": false,
766
+ "isAbstract": false,
767
+ "name": "initialize"
768
+ },
769
+ {
770
+ "kind": "Property",
771
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#priority:member",
772
+ "docComment": "",
773
+ "excerptTokens": [
774
+ {
775
+ "kind": "Content",
776
+ "text": "priority: "
777
+ },
778
+ {
779
+ "kind": "Content",
780
+ "text": "number"
781
+ },
782
+ {
783
+ "kind": "Content",
784
+ "text": ";"
785
+ }
786
+ ],
787
+ "isReadonly": false,
788
+ "isOptional": false,
789
+ "releaseTag": "Public",
790
+ "name": "priority",
791
+ "propertyTypeTokenRange": {
792
+ "startIndex": 1,
793
+ "endIndex": 2
794
+ },
795
+ "isStatic": false,
796
+ "isProtected": false,
797
+ "isAbstract": false
798
+ },
799
+ {
800
+ "kind": "Method",
801
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#processTelemetry:member(1)",
802
+ "docComment": "",
803
+ "excerptTokens": [
804
+ {
805
+ "kind": "Content",
806
+ "text": "processTelemetry(env: "
807
+ },
808
+ {
809
+ "kind": "Reference",
810
+ "text": "ITelemetryItem",
811
+ "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface"
812
+ },
813
+ {
814
+ "kind": "Content",
815
+ "text": ", itemCtx?: "
816
+ },
817
+ {
818
+ "kind": "Reference",
819
+ "text": "IProcessTelemetryContext",
820
+ "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface"
821
+ },
822
+ {
823
+ "kind": "Content",
824
+ "text": "): "
825
+ },
826
+ {
827
+ "kind": "Content",
828
+ "text": "void"
829
+ },
830
+ {
831
+ "kind": "Content",
832
+ "text": ";"
833
+ }
834
+ ],
835
+ "isStatic": false,
836
+ "returnTypeTokenRange": {
837
+ "startIndex": 5,
838
+ "endIndex": 6
839
+ },
840
+ "releaseTag": "Public",
841
+ "isProtected": false,
842
+ "overloadIndex": 1,
843
+ "parameters": [
844
+ {
845
+ "parameterName": "env",
846
+ "parameterTypeTokenRange": {
847
+ "startIndex": 1,
848
+ "endIndex": 2
849
+ },
850
+ "isOptional": false
851
+ },
852
+ {
853
+ "parameterName": "itemCtx",
854
+ "parameterTypeTokenRange": {
855
+ "startIndex": 3,
856
+ "endIndex": 4
857
+ },
858
+ "isOptional": true
859
+ }
860
+ ],
861
+ "isOptional": false,
862
+ "isAbstract": false,
863
+ "name": "processTelemetry"
864
+ },
865
+ {
866
+ "kind": "Method",
867
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#setDeviceId:member(1)",
868
+ "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",
869
+ "excerptTokens": [
870
+ {
871
+ "kind": "Content",
872
+ "text": "setDeviceId(newId: "
873
+ },
874
+ {
875
+ "kind": "Content",
876
+ "text": "string"
877
+ },
878
+ {
879
+ "kind": "Content",
880
+ "text": "): "
881
+ },
882
+ {
883
+ "kind": "Content",
884
+ "text": "void"
885
+ },
886
+ {
887
+ "kind": "Content",
888
+ "text": ";"
889
+ }
890
+ ],
891
+ "isStatic": false,
892
+ "returnTypeTokenRange": {
893
+ "startIndex": 3,
894
+ "endIndex": 4
895
+ },
896
+ "releaseTag": "Public",
897
+ "isProtected": false,
898
+ "overloadIndex": 1,
899
+ "parameters": [
900
+ {
901
+ "parameterName": "newId",
902
+ "parameterTypeTokenRange": {
903
+ "startIndex": 1,
904
+ "endIndex": 2
905
+ },
906
+ "isOptional": false
907
+ }
908
+ ],
909
+ "isOptional": false,
910
+ "isAbstract": false,
911
+ "name": "setDeviceId"
912
+ },
913
+ {
914
+ "kind": "Method",
915
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#setDeviceInfoModule:member(1)",
916
+ "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",
917
+ "excerptTokens": [
918
+ {
919
+ "kind": "Content",
920
+ "text": "setDeviceInfoModule(deviceInfoModule: "
921
+ },
922
+ {
923
+ "kind": "Reference",
924
+ "text": "IDeviceInfoModule",
925
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule:interface"
926
+ },
927
+ {
928
+ "kind": "Content",
929
+ "text": "): "
930
+ },
931
+ {
932
+ "kind": "Content",
933
+ "text": "void"
934
+ },
935
+ {
936
+ "kind": "Content",
937
+ "text": ";"
938
+ }
939
+ ],
940
+ "isStatic": false,
941
+ "returnTypeTokenRange": {
942
+ "startIndex": 3,
943
+ "endIndex": 4
944
+ },
945
+ "releaseTag": "Public",
946
+ "isProtected": false,
947
+ "overloadIndex": 1,
948
+ "parameters": [
949
+ {
950
+ "parameterName": "deviceInfoModule",
951
+ "parameterTypeTokenRange": {
952
+ "startIndex": 1,
953
+ "endIndex": 2
954
+ },
955
+ "isOptional": false
956
+ }
957
+ ],
958
+ "isOptional": false,
959
+ "isAbstract": false,
960
+ "name": "setDeviceInfoModule"
961
+ },
962
+ {
963
+ "kind": "Method",
964
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#setDeviceModel:member(1)",
965
+ "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",
966
+ "excerptTokens": [
967
+ {
968
+ "kind": "Content",
969
+ "text": "setDeviceModel(newModel: "
970
+ },
971
+ {
972
+ "kind": "Content",
973
+ "text": "string"
974
+ },
975
+ {
976
+ "kind": "Content",
977
+ "text": "): "
978
+ },
979
+ {
980
+ "kind": "Content",
981
+ "text": "void"
982
+ },
983
+ {
984
+ "kind": "Content",
985
+ "text": ";"
986
+ }
987
+ ],
988
+ "isStatic": false,
989
+ "returnTypeTokenRange": {
990
+ "startIndex": 3,
991
+ "endIndex": 4
992
+ },
993
+ "releaseTag": "Public",
994
+ "isProtected": false,
995
+ "overloadIndex": 1,
996
+ "parameters": [
997
+ {
998
+ "parameterName": "newModel",
999
+ "parameterTypeTokenRange": {
1000
+ "startIndex": 1,
1001
+ "endIndex": 2
1002
+ },
1003
+ "isOptional": false
1004
+ }
1005
+ ],
1006
+ "isOptional": false,
1007
+ "isAbstract": false,
1008
+ "name": "setDeviceModel"
1009
+ },
1010
+ {
1011
+ "kind": "Method",
1012
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin#setDeviceType:member(1)",
1013
+ "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",
1014
+ "excerptTokens": [
1015
+ {
1016
+ "kind": "Content",
1017
+ "text": "setDeviceType(newType: "
1018
+ },
1019
+ {
1020
+ "kind": "Content",
1021
+ "text": "string"
1022
+ },
1023
+ {
1024
+ "kind": "Content",
1025
+ "text": "): "
1026
+ },
1027
+ {
1028
+ "kind": "Content",
1029
+ "text": "void"
1030
+ },
1031
+ {
1032
+ "kind": "Content",
1033
+ "text": ";"
1034
+ }
1035
+ ],
1036
+ "isStatic": false,
1037
+ "returnTypeTokenRange": {
1038
+ "startIndex": 3,
1039
+ "endIndex": 4
1040
+ },
1041
+ "releaseTag": "Public",
1042
+ "isProtected": false,
1043
+ "overloadIndex": 1,
1044
+ "parameters": [
1045
+ {
1046
+ "parameterName": "newType",
1047
+ "parameterTypeTokenRange": {
1048
+ "startIndex": 1,
1049
+ "endIndex": 2
1050
+ },
1051
+ "isOptional": false
1052
+ }
1053
+ ],
1054
+ "isOptional": false,
1055
+ "isAbstract": false,
1056
+ "name": "setDeviceType"
1057
+ }
1058
+ ],
1059
+ "extendsTokenRange": {
1060
+ "startIndex": 1,
1061
+ "endIndex": 2
1062
+ },
1063
+ "implementsTokenRanges": []
1064
+ },
1065
+ {
1066
+ "kind": "Class",
1067
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativePlugin:class",
1068
+ "docComment": "",
1069
+ "excerptTokens": [
1070
+ {
1071
+ "kind": "Content",
1072
+ "text": "export declare class ReactNativePlugin extends "
1073
+ },
1074
+ {
1075
+ "kind": "Reference",
1076
+ "text": "ReactNativeManualDevicePlugin",
1077
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativeManualDevicePlugin:class"
1078
+ },
1079
+ {
1080
+ "kind": "Content",
1081
+ "text": " "
1082
+ }
1083
+ ],
1084
+ "fileUrlPath": "types/ReactNativePlugin.d.ts",
1085
+ "releaseTag": "Public",
1086
+ "isAbstract": false,
1087
+ "name": "ReactNativePlugin",
1088
+ "preserveMemberOrder": false,
1089
+ "members": [
1090
+ {
1091
+ "kind": "Method",
1092
+ "canonicalReference": "@microsoft/applicationinsights-react-native!ReactNativePlugin#getDeviceInfoModule:member(1)",
1093
+ "docComment": "",
1094
+ "excerptTokens": [
1095
+ {
1096
+ "kind": "Content",
1097
+ "text": "protected getDeviceInfoModule(_deviceInfoModule: "
1098
+ },
1099
+ {
1100
+ "kind": "Content",
1101
+ "text": "any"
1102
+ },
1103
+ {
1104
+ "kind": "Content",
1105
+ "text": "): "
1106
+ },
1107
+ {
1108
+ "kind": "Reference",
1109
+ "text": "IDeviceInfoModule",
1110
+ "canonicalReference": "@microsoft/applicationinsights-react-native!IDeviceInfoModule:interface"
1111
+ },
1112
+ {
1113
+ "kind": "Content",
1114
+ "text": ";"
1115
+ }
1116
+ ],
1117
+ "isStatic": false,
1118
+ "returnTypeTokenRange": {
1119
+ "startIndex": 3,
1120
+ "endIndex": 4
1121
+ },
1122
+ "releaseTag": "Public",
1123
+ "isProtected": true,
1124
+ "overloadIndex": 1,
1125
+ "parameters": [
1126
+ {
1127
+ "parameterName": "_deviceInfoModule",
1128
+ "parameterTypeTokenRange": {
1129
+ "startIndex": 1,
1130
+ "endIndex": 2
1131
+ },
1132
+ "isOptional": false
1133
+ }
1134
+ ],
1135
+ "isOptional": false,
1136
+ "isAbstract": false,
1137
+ "name": "getDeviceInfoModule"
1138
+ }
1139
+ ],
1140
+ "extendsTokenRange": {
1141
+ "startIndex": 1,
1142
+ "endIndex": 2
1143
+ },
1144
+ "implementsTokenRanges": []
1145
+ }
1146
+ ]
1147
+ }
1148
+ ]
1149
+ }