forked from DataDog/dd-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi-surface-objc
1293 lines (1293 loc) · 50.7 KB
/
api-surface-objc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
public var ddURLSessionDelegate: DDURLSessionDelegate
override public init()
public init(additionalFirstPartyHostsWithHeaderTypes: [String: Set<DDTracingHeaderType>])
public init(additionalFirstPartyHosts: Set<String>)
public class DDTrackingConsent: NSObject
public static func granted() -> DDTrackingConsent
public static func notGranted() -> DDTrackingConsent
public static func pending() -> DDTrackingConsent
public class DDAppContext: NSObject
public init(mainBundle: Bundle)
override public init()
public class DDDatadog: NSObject
public static func initialize(appContext: DDAppContext, configuration: DDConfiguration)
public static func initialize(appContext: DDAppContext,trackingConsent: DDTrackingConsent,configuration: DDConfiguration)
public static func setVerbosityLevel(_ verbosityLevel: DDSDKVerbosityLevel)
public static func verbosityLevel() -> DDSDKVerbosityLevel
public static func setUserInfo(id: String? = nil, name: String? = nil, email: String? = nil, extraInfo: [String: Any] = [:])
public static func setTrackingConsent(consent: DDTrackingConsent)
public static func clearAllData()
public static func flushAndDeinitialize()
public class DDEndpoint: NSObject
public static func us1() -> DDEndpoint
public static func us3() -> DDEndpoint
public static func us5() -> DDEndpoint
public static func eu1() -> DDEndpoint
public static func us1_fed() -> DDEndpoint
public static func eu() -> DDEndpoint
public static func us() -> DDEndpoint
public static func gov() -> DDEndpoint
public class DDLogsEndpoint: NSObject
public static func us1() -> DDLogsEndpoint
public static func us3() -> DDLogsEndpoint
public static func eu1() -> DDLogsEndpoint
public static func us1_fed() -> DDLogsEndpoint
public static func eu() -> DDLogsEndpoint
public static func us() -> DDLogsEndpoint
public static func gov() -> DDLogsEndpoint
public static func custom(url: String) -> DDLogsEndpoint
public class DDTracesEndpoint: NSObject
public static func us1() -> DDTracesEndpoint
public static func us3() -> DDTracesEndpoint
public static func eu1() -> DDTracesEndpoint
public static func us1_fed() -> DDTracesEndpoint
public static func eu() -> DDTracesEndpoint
public static func us() -> DDTracesEndpoint
public static func gov() -> DDTracesEndpoint
public static func custom(url: String) -> DDTracesEndpoint
public enum DDBatchSize: Int
case small
case medium
case large
public enum DDUploadFrequency: Int
case frequent
case average
case rare
public enum DDVitalsFrequency: Int
case frequent
case average
case rare
case never
public class DDTracingHeaderType: NSObject
@objc public static let datadog = DDTracingHeaderType(.datadog)
@objc public static let b3multi = DDTracingHeaderType(.b3multi)
@objc public static let b3 = DDTracingHeaderType(.b3)
@objc public static let tracecontext = DDTracingHeaderType(.tracecontext)
public protocol DDDataEncryption: AnyObject
func encrypt(data: Data) throws -> Data
func decrypt(data: Data) throws -> Data
public protocol DDServerDateProvider: AnyObject
func synchronize(update: @escaping (TimeInterval) -> Void)
public class DDConfiguration: NSObject
public static func builder(clientToken: String, environment: String) -> DDConfigurationBuilder
public static func builder(rumApplicationID: String, clientToken: String, environment: String) -> DDConfigurationBuilder
public class DDConfigurationBuilder: NSObject
public func enableLogging(_ enabled: Bool)
public func enableTracing(_ enabled: Bool)
public func enableRUM(_ enabled: Bool)
public func enableCrashReporting(using crashReportingPlugin: DDCrashReportingPluginType)
public func set(endpoint: DDEndpoint)
public func set(customLogsEndpoint: URL)
public func set(customTracesEndpoint: URL)
public func set(customRUMEndpoint: URL)
public func set(serverDateProvider: DDServerDateProvider)
public func set(logsEndpoint: DDLogsEndpoint)
public func set(tracesEndpoint: DDTracesEndpoint)
public func set(tracedHosts: Set<String>)
public func track(firstPartyHosts: Set<String>)
public func trackURLSession(firstPartyHosts: Set<String>)
public func trackURLSession(firstPartyHostsWithHeaderTypes: [String: Set<DDTracingHeaderType>])
public func set(serviceName: String)
public func set(loggingSamplingRate: Float)
public func set(tracingSamplingRate: Float)
public func set(rumSessionsSamplingRate: Float)
public func set(onRUMSessionStart handler: @escaping (String, Bool) -> Void)
public func trackUIKitRUMViews()
public func trackUIKitRUMViews(using predicate: DDUIKitRUMViewsPredicate)
public func trackUIKitActions()
public func trackUIKitRUMActions()
public func trackUIKitRUMActions(using predicate: DDUIKitRUMUserActionsPredicate)
public func trackRUMLongTasks()
public func trackRUMLongTasks(threshold: TimeInterval)
public func setRUMViewEventMapper(_ mapper: @escaping (DDRUMViewEvent) -> DDRUMViewEvent)
public func setRUMResourceEventMapper(_ mapper: @escaping (DDRUMResourceEvent) -> DDRUMResourceEvent?)
public func setRUMActionEventMapper(_ mapper: @escaping (DDRUMActionEvent) -> DDRUMActionEvent?)
public func setRUMErrorEventMapper(_ mapper: @escaping (DDRUMErrorEvent) -> DDRUMErrorEvent?)
public func setRUMLongTaskEventMapper(_ mapper: @escaping (DDRUMLongTaskEvent) -> DDRUMLongTaskEvent?)
public func trackBackgroundEvents(_ enabled: Bool = true)
public func trackFrustrations(_ enabled: Bool = true)
public func set(mobileVitalsFrequency: DDVitalsFrequency)
public func set(batchSize: DDBatchSize)
public func set(uploadFrequency: DDUploadFrequency)
public func set(additionalConfiguration: [String: Any])
public func set(proxyConfiguration: [AnyHashable: Any])
public func set(encryption: DDDataEncryption)
public func build() -> DDConfiguration
public class DDGlobal: NSObject
@objc public static var sharedTracer = DatadogObjc.DDTracer(swiftTracer: Datadog.Global.sharedTracer)
@objc public static var rum = DatadogObjc.DDRUMMonitor(swiftRUMMonitor: Datadog.Global.rum)
public enum DDSDKVerbosityLevel: Int
case none
case debug
case info
case notice
case warn
case error
case critical
public enum DDLogLevel: Int
case debug
case info
case notice
case warn
case error
case critical
public class DDLogger: NSObject
public func debug(_ message: String)
public func debug(_ message: String, attributes: [String: Any])
public func debug(_ message: String, error: NSError, attributes: [String: Any])
public func info(_ message: String)
public func info(_ message: String, attributes: [String: Any])
public func info(_ message: String, error: NSError, attributes: [String: Any])
public func notice(_ message: String)
public func notice(_ message: String, attributes: [String: Any])
public func notice(_ message: String, error: NSError, attributes: [String: Any])
public func warn(_ message: String)
public func warn(_ message: String, attributes: [String: Any])
public func warn(_ message: String, error: NSError, attributes: [String: Any])
public func error(_ message: String)
public func error(_ message: String, attributes: [String: Any])
public func error(_ message: String, error: NSError, attributes: [String: Any])
public func critical(_ message: String)
public func critical(_ message: String, attributes: [String: Any])
public func critical(_ message: String, error: NSError, attributes: [String: Any])
public func addAttribute(forKey key: String, value: Any)
public func removeAttribute(forKey key: String)
public func addTag(withKey key: String, value: String)
public func removeTag(withKey key: String)
public func add(tag: String)
public func remove(tag: String)
public static func builder() -> DDLoggerBuilder
public class DDLoggerBuilder: NSObject
public func set(serviceName: String)
public func set(loggerName: String)
public func sendNetworkInfo(_ enabled: Bool)
public func sendLogsToDatadog(_ enabled: Bool)
public func printLogsToConsole(_ enabled: Bool)
public func set(datadogReportingThreshold: DDLogLevel)
public func build() -> DDLogger
public protocol OTSpan
var context: OTSpanContext
var tracer: OTTracer
func setOperationName(_ operationName: String)
func setTag(_ key: String, value: NSString)
func setTag(_ key: String, numberValue: NSNumber)
func setTag(_ key: String, boolValue: Bool)
func log(_ fields: [String: NSObject])
func log(_ fields: [String: NSObject], timestamp: Date?)
func setBaggageItem(_ key: String, value: String) -> OTSpan
func getBaggageItem(_ key: String) -> String?
func setError(_ error: Error)
func setError(kind: String, message: String, stack: String?)
func finish()
func finishWithTime(_ finishTime: Date?)
func setActive() -> OTSpan
public protocol OTSpanContext
func forEachBaggageItem(_ callback: (_ key: String, _ value: String) -> Bool)
public class OT: NSObject
@objc public static let formatTextMap = "OTFormatTextMap"
public protocol OTTracer
func startSpan(_ operationName: String) -> OTSpan
func startSpan(_ operationName: String, tags: NSDictionary?) -> OTSpan
func startSpan(_ operationName: String, childOf parent: OTSpanContext?) -> OTSpan
func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?) -> OTSpan
func startSpan(_ operationName: String, childOf parent: OTSpanContext?, tags: NSDictionary?, startTime: Date?) -> OTSpan
func inject(_ spanContext: OTSpanContext, format: String, carrier: Any) throws
func extractWithFormat(_ format: String, carrier: Any) throws
public class DDRUMActionEvent: NSObject
@objc public var dd: DDRUMActionEventDD
@objc public var action: DDRUMActionEventAction
@objc public var application: DDRUMActionEventApplication
@objc public var ciTest: DDRUMActionEventRUMCITest?
@objc public var connectivity: DDRUMActionEventRUMConnectivity?
@objc public var context: DDRUMActionEventRUMEventAttributes?
@objc public var date: NSNumber
@objc public var device: DDRUMActionEventRUMDevice?
@objc public var display: DDRUMActionEventRUMDisplay?
@objc public var os: DDRUMActionEventRUMOperatingSystem?
@objc public var service: String?
@objc public var session: DDRUMActionEventSession
@objc public var source: DDRUMActionEventSource
@objc public var synthetics: DDRUMActionEventSynthetics?
@objc public var type: String
@objc public var usr: DDRUMActionEventRUMUser?
@objc public var version: String?
@objc public var view: DDRUMActionEventView
public class DDRUMActionEventDD: NSObject
@objc public var action: DDRUMActionEventDDAction?
@objc public var browserSdkVersion: String?
@objc public var formatVersion: NSNumber
@objc public var session: DDRUMActionEventDDSession?
public class DDRUMActionEventDDAction: NSObject
@objc public var position: DDRUMActionEventDDActionPosition?
@objc public var target: DDRUMActionEventDDActionTarget?
public class DDRUMActionEventDDActionPosition: NSObject
@objc public var x: NSNumber
@objc public var y: NSNumber
public class DDRUMActionEventDDActionTarget: NSObject
@objc public var height: NSNumber?
@objc public var selector: String?
@objc public var width: NSNumber?
public class DDRUMActionEventDDSession: NSObject
@objc public var plan: DDRUMActionEventDDSessionPlan
public enum DDRUMActionEventDDSessionPlan: Int
case plan1
case plan2
public class DDRUMActionEventAction: NSObject
@objc public var crash: DDRUMActionEventActionCrash?
@objc public var error: DDRUMActionEventActionError?
@objc public var frustration: DDRUMActionEventActionFrustration?
@objc public var id: String?
@objc public var loadingTime: NSNumber?
@objc public var longTask: DDRUMActionEventActionLongTask?
@objc public var resource: DDRUMActionEventActionResource?
@objc public var target: DDRUMActionEventActionTarget?
@objc public var type: DDRUMActionEventActionActionType
public class DDRUMActionEventActionCrash: NSObject
@objc public var count: NSNumber
public class DDRUMActionEventActionError: NSObject
@objc public var count: NSNumber
public class DDRUMActionEventActionFrustration: NSObject
@objc public var type: [Int]
public enum DDRUMActionEventActionFrustrationFrustrationType: Int
case rageClick
case deadClick
case errorClick
case rageTap
case errorTap
public class DDRUMActionEventActionLongTask: NSObject
@objc public var count: NSNumber
public class DDRUMActionEventActionResource: NSObject
@objc public var count: NSNumber
public class DDRUMActionEventActionTarget: NSObject
@objc public var name: String
public enum DDRUMActionEventActionActionType: Int
case custom
case click
case tap
case scroll
case swipe
case applicationStart
case back
public class DDRUMActionEventApplication: NSObject
@objc public var id: String
public class DDRUMActionEventRUMCITest: NSObject
@objc public var testExecutionId: String
public class DDRUMActionEventRUMConnectivity: NSObject
@objc public var cellular: DDRUMActionEventRUMConnectivityCellular?
@objc public var interfaces: [Int]
@objc public var status: DDRUMActionEventRUMConnectivityStatus
public class DDRUMActionEventRUMConnectivityCellular: NSObject
@objc public var carrierName: String?
@objc public var technology: String?
public enum DDRUMActionEventRUMConnectivityInterfaces: Int
case bluetooth
case cellular
case ethernet
case wifi
case wimax
case mixed
case other
case unknown
case none
public enum DDRUMActionEventRUMConnectivityStatus: Int
case connected
case notConnected
case maybe
public class DDRUMActionEventRUMEventAttributes: NSObject
@objc public var contextInfo: [String: Any]
public class DDRUMActionEventRUMDevice: NSObject
@objc public var architecture: String?
@objc public var brand: String?
@objc public var model: String?
@objc public var name: String?
@objc public var type: DDRUMActionEventRUMDeviceRUMDeviceType
public enum DDRUMActionEventRUMDeviceRUMDeviceType: Int
case mobile
case desktop
case tablet
case tv
case gamingConsole
case bot
case other
public class DDRUMActionEventRUMDisplay: NSObject
@objc public var viewport: DDRUMActionEventRUMDisplayViewport?
public class DDRUMActionEventRUMDisplayViewport: NSObject
@objc public var height: NSNumber
@objc public var width: NSNumber
public class DDRUMActionEventRUMOperatingSystem: NSObject
@objc public var name: String
@objc public var version: String
@objc public var versionMajor: String
public class DDRUMActionEventSession: NSObject
@objc public var hasReplay: NSNumber?
@objc public var id: String
@objc public var type: DDRUMActionEventSessionSessionType
public enum DDRUMActionEventSessionSessionType: Int
case user
case synthetics
case ciTest
public enum DDRUMActionEventSource: Int
case none
case android
case ios
case browser
case flutter
case reactNative
case roku
public class DDRUMActionEventSynthetics: NSObject
@objc public var injected: NSNumber?
@objc public var resultId: String
@objc public var testId: String
public class DDRUMActionEventRUMUser: NSObject
@objc public var email: String?
@objc public var id: String?
@objc public var name: String?
@objc public var usrInfo: [String: Any]
public class DDRUMActionEventView: NSObject
@objc public var id: String
@objc public var inForeground: NSNumber?
@objc public var name: String?
@objc public var referrer: String?
@objc public var url: String
public class DDRUMErrorEvent: NSObject
@objc public var dd: DDRUMErrorEventDD
@objc public var action: DDRUMErrorEventAction?
@objc public var application: DDRUMErrorEventApplication
@objc public var ciTest: DDRUMErrorEventRUMCITest?
@objc public var connectivity: DDRUMErrorEventRUMConnectivity?
@objc public var context: DDRUMErrorEventRUMEventAttributes?
@objc public var date: NSNumber
@objc public var device: DDRUMErrorEventRUMDevice?
@objc public var display: DDRUMErrorEventRUMDisplay?
@objc public var error: DDRUMErrorEventError
@objc public var featureFlags: DDRUMErrorEventFeatureFlags?
@objc public var os: DDRUMErrorEventRUMOperatingSystem?
@objc public var service: String?
@objc public var session: DDRUMErrorEventSession
@objc public var source: DDRUMErrorEventSource
@objc public var synthetics: DDRUMErrorEventSynthetics?
@objc public var type: String
@objc public var usr: DDRUMErrorEventRUMUser?
@objc public var version: String?
@objc public var view: DDRUMErrorEventView
public class DDRUMErrorEventDD: NSObject
@objc public var browserSdkVersion: String?
@objc public var formatVersion: NSNumber
@objc public var session: DDRUMErrorEventDDSession?
public class DDRUMErrorEventDDSession: NSObject
@objc public var plan: DDRUMErrorEventDDSessionPlan
public enum DDRUMErrorEventDDSessionPlan: Int
case plan1
case plan2
public class DDRUMErrorEventAction: NSObject
@objc public var id: DDRUMErrorEventActionRUMActionID
public class DDRUMErrorEventActionRUMActionID: NSObject
@objc public var string: String?
@objc public var stringsArray: [String]?
public class DDRUMErrorEventApplication: NSObject
@objc public var id: String
public class DDRUMErrorEventRUMCITest: NSObject
@objc public var testExecutionId: String
public class DDRUMErrorEventRUMConnectivity: NSObject
@objc public var cellular: DDRUMErrorEventRUMConnectivityCellular?
@objc public var interfaces: [Int]
@objc public var status: DDRUMErrorEventRUMConnectivityStatus
public class DDRUMErrorEventRUMConnectivityCellular: NSObject
@objc public var carrierName: String?
@objc public var technology: String?
public enum DDRUMErrorEventRUMConnectivityInterfaces: Int
case bluetooth
case cellular
case ethernet
case wifi
case wimax
case mixed
case other
case unknown
case none
public enum DDRUMErrorEventRUMConnectivityStatus: Int
case connected
case notConnected
case maybe
public class DDRUMErrorEventRUMEventAttributes: NSObject
@objc public var contextInfo: [String: Any]
public class DDRUMErrorEventRUMDevice: NSObject
@objc public var architecture: String?
@objc public var brand: String?
@objc public var model: String?
@objc public var name: String?
@objc public var type: DDRUMErrorEventRUMDeviceRUMDeviceType
public enum DDRUMErrorEventRUMDeviceRUMDeviceType: Int
case mobile
case desktop
case tablet
case tv
case gamingConsole
case bot
case other
public class DDRUMErrorEventRUMDisplay: NSObject
@objc public var viewport: DDRUMErrorEventRUMDisplayViewport?
public class DDRUMErrorEventRUMDisplayViewport: NSObject
@objc public var height: NSNumber
@objc public var width: NSNumber
public class DDRUMErrorEventError: NSObject
@objc public var causes: [DDRUMErrorEventErrorCauses]?
@objc public var handling: DDRUMErrorEventErrorHandling
@objc public var handlingStack: String?
@objc public var id: String?
@objc public var isCrash: NSNumber?
@objc public var message: String
@objc public var resource: DDRUMErrorEventErrorResource?
@objc public var source: DDRUMErrorEventErrorSource
@objc public var sourceType: DDRUMErrorEventErrorSourceType
@objc public var stack: String?
@objc public var type: String?
public class DDRUMErrorEventErrorCauses: NSObject
@objc public var message: String
@objc public var source: DDRUMErrorEventErrorCausesSource
@objc public var stack: String?
@objc public var type: String?
public enum DDRUMErrorEventErrorCausesSource: Int
case network
case source
case console
case logger
case agent
case webview
case custom
case report
public enum DDRUMErrorEventErrorHandling: Int
case none
case handled
case unhandled
public class DDRUMErrorEventErrorResource: NSObject
@objc public var method: DDRUMErrorEventErrorResourceRUMMethod
@objc public var provider: DDRUMErrorEventErrorResourceProvider?
@objc public var statusCode: NSNumber
@objc public var url: String
public enum DDRUMErrorEventErrorResourceRUMMethod: Int
case post
case get
case head
case put
case delete
case patch
public class DDRUMErrorEventErrorResourceProvider: NSObject
@objc public var domain: String?
@objc public var name: String?
@objc public var type: DDRUMErrorEventErrorResourceProviderProviderType
public enum DDRUMErrorEventErrorResourceProviderProviderType: Int
case none
case ad
case advertising
case analytics
case cdn
case content
case customerSuccess
case firstParty
case hosting
case marketing
case other
case social
case tagManager
case utility
case video
public enum DDRUMErrorEventErrorSource: Int
case network
case source
case console
case logger
case agent
case webview
case custom
case report
public enum DDRUMErrorEventErrorSourceType: Int
case none
case android
case browser
case ios
case reactNative
case flutter
case roku
public class DDRUMErrorEventFeatureFlags: NSObject
@objc public var featureFlagsInfo: [String: Any]
public class DDRUMErrorEventRUMOperatingSystem: NSObject
@objc public var name: String
@objc public var version: String
@objc public var versionMajor: String
public class DDRUMErrorEventSession: NSObject
@objc public var hasReplay: NSNumber?
@objc public var id: String
@objc public var type: DDRUMErrorEventSessionSessionType
public enum DDRUMErrorEventSessionSessionType: Int
case user
case synthetics
case ciTest
public enum DDRUMErrorEventSource: Int
case none
case android
case ios
case browser
case flutter
case reactNative
case roku
public class DDRUMErrorEventSynthetics: NSObject
@objc public var injected: NSNumber?
@objc public var resultId: String
@objc public var testId: String
public class DDRUMErrorEventRUMUser: NSObject
@objc public var email: String?
@objc public var id: String?
@objc public var name: String?
@objc public var usrInfo: [String: Any]
public class DDRUMErrorEventView: NSObject
@objc public var id: String
@objc public var inForeground: NSNumber?
@objc public var name: String?
@objc public var referrer: String?
@objc public var url: String
public class DDRUMLongTaskEvent: NSObject
@objc public var dd: DDRUMLongTaskEventDD
@objc public var action: DDRUMLongTaskEventAction?
@objc public var application: DDRUMLongTaskEventApplication
@objc public var ciTest: DDRUMLongTaskEventRUMCITest?
@objc public var connectivity: DDRUMLongTaskEventRUMConnectivity?
@objc public var context: DDRUMLongTaskEventRUMEventAttributes?
@objc public var date: NSNumber
@objc public var device: DDRUMLongTaskEventRUMDevice?
@objc public var display: DDRUMLongTaskEventRUMDisplay?
@objc public var longTask: DDRUMLongTaskEventLongTask
@objc public var os: DDRUMLongTaskEventRUMOperatingSystem?
@objc public var service: String?
@objc public var session: DDRUMLongTaskEventSession
@objc public var source: DDRUMLongTaskEventSource
@objc public var synthetics: DDRUMLongTaskEventSynthetics?
@objc public var type: String
@objc public var usr: DDRUMLongTaskEventRUMUser?
@objc public var version: String?
@objc public var view: DDRUMLongTaskEventView
public class DDRUMLongTaskEventDD: NSObject
@objc public var browserSdkVersion: String?
@objc public var discarded: NSNumber?
@objc public var formatVersion: NSNumber
@objc public var session: DDRUMLongTaskEventDDSession?
public class DDRUMLongTaskEventDDSession: NSObject
@objc public var plan: DDRUMLongTaskEventDDSessionPlan
public enum DDRUMLongTaskEventDDSessionPlan: Int
case plan1
case plan2
public class DDRUMLongTaskEventAction: NSObject
@objc public var id: DDRUMLongTaskEventActionRUMActionID
public class DDRUMLongTaskEventActionRUMActionID: NSObject
@objc public var string: String?
@objc public var stringsArray: [String]?
public class DDRUMLongTaskEventApplication: NSObject
@objc public var id: String
public class DDRUMLongTaskEventRUMCITest: NSObject
@objc public var testExecutionId: String
public class DDRUMLongTaskEventRUMConnectivity: NSObject
@objc public var cellular: DDRUMLongTaskEventRUMConnectivityCellular?
@objc public var interfaces: [Int]
@objc public var status: DDRUMLongTaskEventRUMConnectivityStatus
public class DDRUMLongTaskEventRUMConnectivityCellular: NSObject
@objc public var carrierName: String?
@objc public var technology: String?
public enum DDRUMLongTaskEventRUMConnectivityInterfaces: Int
case bluetooth
case cellular
case ethernet
case wifi
case wimax
case mixed
case other
case unknown
case none
public enum DDRUMLongTaskEventRUMConnectivityStatus: Int
case connected
case notConnected
case maybe
public class DDRUMLongTaskEventRUMEventAttributes: NSObject
@objc public var contextInfo: [String: Any]
public class DDRUMLongTaskEventRUMDevice: NSObject
@objc public var architecture: String?
@objc public var brand: String?
@objc public var model: String?
@objc public var name: String?
@objc public var type: DDRUMLongTaskEventRUMDeviceRUMDeviceType
public enum DDRUMLongTaskEventRUMDeviceRUMDeviceType: Int
case mobile
case desktop
case tablet
case tv
case gamingConsole
case bot
case other
public class DDRUMLongTaskEventRUMDisplay: NSObject
@objc public var viewport: DDRUMLongTaskEventRUMDisplayViewport?
public class DDRUMLongTaskEventRUMDisplayViewport: NSObject
@objc public var height: NSNumber
@objc public var width: NSNumber
public class DDRUMLongTaskEventLongTask: NSObject
@objc public var duration: NSNumber
@objc public var id: String?
@objc public var isFrozenFrame: NSNumber?
public class DDRUMLongTaskEventRUMOperatingSystem: NSObject
@objc public var name: String
@objc public var version: String
@objc public var versionMajor: String
public class DDRUMLongTaskEventSession: NSObject
@objc public var hasReplay: NSNumber?
@objc public var id: String
@objc public var type: DDRUMLongTaskEventSessionSessionType
public enum DDRUMLongTaskEventSessionSessionType: Int
case user
case synthetics
case ciTest
public enum DDRUMLongTaskEventSource: Int
case none
case android
case ios
case browser
case flutter
case reactNative
case roku
public class DDRUMLongTaskEventSynthetics: NSObject
@objc public var injected: NSNumber?
@objc public var resultId: String
@objc public var testId: String
public class DDRUMLongTaskEventRUMUser: NSObject
@objc public var email: String?
@objc public var id: String?
@objc public var name: String?
@objc public var usrInfo: [String: Any]
public class DDRUMLongTaskEventView: NSObject
@objc public var id: String
@objc public var name: String?
@objc public var referrer: String?
@objc public var url: String
public class DDRUMResourceEvent: NSObject
@objc public var dd: DDRUMResourceEventDD
@objc public var action: DDRUMResourceEventAction?
@objc public var application: DDRUMResourceEventApplication
@objc public var ciTest: DDRUMResourceEventRUMCITest?
@objc public var connectivity: DDRUMResourceEventRUMConnectivity?
@objc public var context: DDRUMResourceEventRUMEventAttributes?
@objc public var date: NSNumber
@objc public var device: DDRUMResourceEventRUMDevice?
@objc public var display: DDRUMResourceEventRUMDisplay?
@objc public var os: DDRUMResourceEventRUMOperatingSystem?
@objc public var resource: DDRUMResourceEventResource
@objc public var service: String?
@objc public var session: DDRUMResourceEventSession
@objc public var source: DDRUMResourceEventSource
@objc public var synthetics: DDRUMResourceEventSynthetics?
@objc public var type: String
@objc public var usr: DDRUMResourceEventRUMUser?
@objc public var version: String?
@objc public var view: DDRUMResourceEventView
public class DDRUMResourceEventDD: NSObject
@objc public var browserSdkVersion: String?
@objc public var discarded: NSNumber?
@objc public var formatVersion: NSNumber
@objc public var rulePsr: NSNumber?
@objc public var session: DDRUMResourceEventDDSession?
@objc public var spanId: String?
@objc public var traceId: String?
public class DDRUMResourceEventDDSession: NSObject
@objc public var plan: DDRUMResourceEventDDSessionPlan
public enum DDRUMResourceEventDDSessionPlan: Int
case plan1
case plan2
public class DDRUMResourceEventAction: NSObject
@objc public var id: DDRUMResourceEventActionRUMActionID
public class DDRUMResourceEventActionRUMActionID: NSObject
@objc public var string: String?
@objc public var stringsArray: [String]?
public class DDRUMResourceEventApplication: NSObject
@objc public var id: String
public class DDRUMResourceEventRUMCITest: NSObject
@objc public var testExecutionId: String
public class DDRUMResourceEventRUMConnectivity: NSObject
@objc public var cellular: DDRUMResourceEventRUMConnectivityCellular?
@objc public var interfaces: [Int]
@objc public var status: DDRUMResourceEventRUMConnectivityStatus
public class DDRUMResourceEventRUMConnectivityCellular: NSObject
@objc public var carrierName: String?
@objc public var technology: String?
public enum DDRUMResourceEventRUMConnectivityInterfaces: Int
case bluetooth
case cellular
case ethernet
case wifi
case wimax
case mixed
case other
case unknown
case none
public enum DDRUMResourceEventRUMConnectivityStatus: Int
case connected
case notConnected
case maybe
public class DDRUMResourceEventRUMEventAttributes: NSObject
@objc public var contextInfo: [String: Any]
public class DDRUMResourceEventRUMDevice: NSObject
@objc public var architecture: String?
@objc public var brand: String?
@objc public var model: String?
@objc public var name: String?
@objc public var type: DDRUMResourceEventRUMDeviceRUMDeviceType
public enum DDRUMResourceEventRUMDeviceRUMDeviceType: Int
case mobile
case desktop
case tablet
case tv
case gamingConsole
case bot
case other
public class DDRUMResourceEventRUMDisplay: NSObject
@objc public var viewport: DDRUMResourceEventRUMDisplayViewport?
public class DDRUMResourceEventRUMDisplayViewport: NSObject
@objc public var height: NSNumber
@objc public var width: NSNumber
public class DDRUMResourceEventRUMOperatingSystem: NSObject
@objc public var name: String
@objc public var version: String
@objc public var versionMajor: String
public class DDRUMResourceEventResource: NSObject
@objc public var connect: DDRUMResourceEventResourceConnect?
@objc public var dns: DDRUMResourceEventResourceDNS?
@objc public var download: DDRUMResourceEventResourceDownload?
@objc public var duration: NSNumber
@objc public var firstByte: DDRUMResourceEventResourceFirstByte?
@objc public var id: String?
@objc public var method: DDRUMResourceEventResourceRUMMethod
@objc public var provider: DDRUMResourceEventResourceProvider?
@objc public var redirect: DDRUMResourceEventResourceRedirect?
@objc public var size: NSNumber?
@objc public var ssl: DDRUMResourceEventResourceSSL?
@objc public var statusCode: NSNumber?
@objc public var type: DDRUMResourceEventResourceResourceType
@objc public var url: String
public class DDRUMResourceEventResourceConnect: NSObject
@objc public var duration: NSNumber
@objc public var start: NSNumber
public class DDRUMResourceEventResourceDNS: NSObject
@objc public var duration: NSNumber
@objc public var start: NSNumber
public class DDRUMResourceEventResourceDownload: NSObject
@objc public var duration: NSNumber
@objc public var start: NSNumber
public class DDRUMResourceEventResourceFirstByte: NSObject
@objc public var duration: NSNumber
@objc public var start: NSNumber
public enum DDRUMResourceEventResourceRUMMethod: Int
case none
case post
case get
case head
case put
case delete
case patch
public class DDRUMResourceEventResourceProvider: NSObject
@objc public var domain: String?
@objc public var name: String?
@objc public var type: DDRUMResourceEventResourceProviderProviderType
public enum DDRUMResourceEventResourceProviderProviderType: Int
case none
case ad
case advertising
case analytics
case cdn
case content
case customerSuccess
case firstParty
case hosting
case marketing
case other
case social
case tagManager
case utility
case video
public class DDRUMResourceEventResourceRedirect: NSObject
@objc public var duration: NSNumber
@objc public var start: NSNumber
public class DDRUMResourceEventResourceSSL: NSObject
@objc public var duration: NSNumber
@objc public var start: NSNumber
public enum DDRUMResourceEventResourceResourceType: Int
case document
case xhr
case beacon
case fetch
case css
case js
case image
case font
case media
case other
case native
public class DDRUMResourceEventSession: NSObject
@objc public var hasReplay: NSNumber?
@objc public var id: String
@objc public var type: DDRUMResourceEventSessionSessionType
public enum DDRUMResourceEventSessionSessionType: Int
case user
case synthetics
case ciTest
public enum DDRUMResourceEventSource: Int
case none
case android
case ios
case browser
case flutter
case reactNative
case roku
public class DDRUMResourceEventSynthetics: NSObject
@objc public var injected: NSNumber?
@objc public var resultId: String
@objc public var testId: String
public class DDRUMResourceEventRUMUser: NSObject
@objc public var email: String?
@objc public var id: String?
@objc public var name: String?
@objc public var usrInfo: [String: Any]
public class DDRUMResourceEventView: NSObject
@objc public var id: String
@objc public var name: String?
@objc public var referrer: String?
@objc public var url: String
public class DDRUMViewEvent: NSObject
@objc public var dd: DDRUMViewEventDD
@objc public var application: DDRUMViewEventApplication
@objc public var ciTest: DDRUMViewEventRUMCITest?
@objc public var connectivity: DDRUMViewEventRUMConnectivity?
@objc public var context: DDRUMViewEventRUMEventAttributes?
@objc public var date: NSNumber
@objc public var device: DDRUMViewEventRUMDevice?
@objc public var display: DDRUMViewEventRUMDisplay?
@objc public var featureFlags: DDRUMViewEventFeatureFlags?
@objc public var os: DDRUMViewEventRUMOperatingSystem?
@objc public var service: String?
@objc public var session: DDRUMViewEventSession
@objc public var source: DDRUMViewEventSource
@objc public var synthetics: DDRUMViewEventSynthetics?
@objc public var type: String
@objc public var usr: DDRUMViewEventRUMUser?
@objc public var version: String?
@objc public var view: DDRUMViewEventView
public class DDRUMViewEventDD: NSObject
@objc public var browserSdkVersion: String?
@objc public var documentVersion: NSNumber
@objc public var formatVersion: NSNumber
@objc public var session: DDRUMViewEventDDSession?
public class DDRUMViewEventDDSession: NSObject
@objc public var plan: DDRUMViewEventDDSessionPlan
public enum DDRUMViewEventDDSessionPlan: Int
case plan1
case plan2
public class DDRUMViewEventApplication: NSObject
@objc public var id: String
public class DDRUMViewEventRUMCITest: NSObject
@objc public var testExecutionId: String
public class DDRUMViewEventRUMConnectivity: NSObject
@objc public var cellular: DDRUMViewEventRUMConnectivityCellular?
@objc public var interfaces: [Int]
@objc public var status: DDRUMViewEventRUMConnectivityStatus
public class DDRUMViewEventRUMConnectivityCellular: NSObject
@objc public var carrierName: String?
@objc public var technology: String?
public enum DDRUMViewEventRUMConnectivityInterfaces: Int
case bluetooth
case cellular
case ethernet
case wifi
case wimax
case mixed
case other
case unknown
case none
public enum DDRUMViewEventRUMConnectivityStatus: Int
case connected
case notConnected
case maybe
public class DDRUMViewEventRUMEventAttributes: NSObject
@objc public var contextInfo: [String: Any]
public class DDRUMViewEventRUMDevice: NSObject
@objc public var architecture: String?
@objc public var brand: String?
@objc public var model: String?
@objc public var name: String?
@objc public var type: DDRUMViewEventRUMDeviceRUMDeviceType
public enum DDRUMViewEventRUMDeviceRUMDeviceType: Int
case mobile
case desktop
case tablet
case tv
case gamingConsole
case bot
case other
public class DDRUMViewEventRUMDisplay: NSObject
@objc public var viewport: DDRUMViewEventRUMDisplayViewport?
public class DDRUMViewEventRUMDisplayViewport: NSObject
@objc public var height: NSNumber
@objc public var width: NSNumber
public class DDRUMViewEventFeatureFlags: NSObject
@objc public var featureFlagsInfo: [String: Any]
public class DDRUMViewEventRUMOperatingSystem: NSObject
@objc public var name: String
@objc public var version: String
@objc public var versionMajor: String
public class DDRUMViewEventSession: NSObject
@objc public var hasReplay: NSNumber?
@objc public var id: String
@objc public var type: DDRUMViewEventSessionSessionType
public enum DDRUMViewEventSessionSessionType: Int
case user
case synthetics
case ciTest
public enum DDRUMViewEventSource: Int
case none
case android
case ios
case browser
case flutter
case reactNative
case roku
public class DDRUMViewEventSynthetics: NSObject
@objc public var injected: NSNumber?
@objc public var resultId: String
@objc public var testId: String
public class DDRUMViewEventRUMUser: NSObject
@objc public var email: String?
@objc public var id: String?
@objc public var name: String?
@objc public var usrInfo: [String: Any]
public class DDRUMViewEventView: NSObject
@objc public var action: DDRUMViewEventViewAction
@objc public var cpuTicksCount: NSNumber?
@objc public var cpuTicksPerSecond: NSNumber?
@objc public var crash: DDRUMViewEventViewCrash?
@objc public var cumulativeLayoutShift: NSNumber?
@objc public var customTimings: [String: NSNumber]?
@objc public var domComplete: NSNumber?
@objc public var domContentLoaded: NSNumber?
@objc public var domInteractive: NSNumber?
@objc public var error: DDRUMViewEventViewError
@objc public var firstByte: NSNumber?
@objc public var firstContentfulPaint: NSNumber?
@objc public var firstInputDelay: NSNumber?
@objc public var firstInputTime: NSNumber?
@objc public var flutterBuildTime: DDRUMViewEventViewFlutterBuildTime?
@objc public var flutterRasterTime: DDRUMViewEventViewFlutterRasterTime?
@objc public var frozenFrame: DDRUMViewEventViewFrozenFrame?
@objc public var frustration: DDRUMViewEventViewFrustration?
@objc public var id: String
@objc public var inForegroundPeriods: [DDRUMViewEventViewInForegroundPeriods]?
@objc public var isActive: NSNumber?
@objc public var isSlowRendered: NSNumber?
@objc public var jsRefreshRate: DDRUMViewEventViewJsRefreshRate?
@objc public var largestContentfulPaint: NSNumber?
@objc public var loadEvent: NSNumber?
@objc public var loadingTime: NSNumber?
@objc public var loadingType: DDRUMViewEventViewLoadingType
@objc public var longTask: DDRUMViewEventViewLongTask?
@objc public var memoryAverage: NSNumber?
@objc public var memoryMax: NSNumber?
@objc public var name: String?
@objc public var referrer: String?
@objc public var refreshRateAverage: NSNumber?
@objc public var refreshRateMin: NSNumber?
@objc public var resource: DDRUMViewEventViewResource