forked from DataDog/dd-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
api-surface-objc
2053 lines (2052 loc) · 83.6 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
# ----------------------------------
# API surface for DatadogObjc:
# ----------------------------------
public class DDInternalLogger: NSObject
public static func consolePrint(_ message: String, _ level: DDCoreLoggerLevel)
public static func telemetryDebug(id: String, message: String)
public static func telemetryError(id: String, message: String, kind: String?, stack: String?)
public enum DDCoreLoggerLevel: Int
case debug
case warn
case error
case critical
open class DDNSURLSessionDelegate: NSObject, URLSessionTaskDelegate, URLSessionDataDelegate
override public init()
public init(additionalFirstPartyHostsWithHeaderTypes: [String: Set<DDTracingHeaderType>])
public convenience init(additionalFirstPartyHosts: Set<String>)
public class DDURLSessionInstrumentationConfiguration: NSObject
public init(delegateClass: URLSessionDataDelegate.Type)
public func setFirstPartyHostsTracing(_ firstPartyHostsTracing: DDURLSessionInstrumentationFirstPartyHostsTracing)
@objc public var delegateClass: URLSessionDataDelegate.Type
public class DDURLSessionInstrumentationFirstPartyHostsTracing: NSObject
public init(hostsWithHeaderTypes: [String: Set<DDTracingHeaderType>])
public init(hosts: Set<String>)
public class DDURLSessionInstrumentation: NSObject
public static func enable(configuration: DDURLSessionInstrumentationConfiguration)
public static func disable(delegateClass: URLSessionDataDelegate.Type)
public class DDTrackingConsent: NSObject
public static func granted() -> DDTrackingConsent
public static func notGranted() -> DDTrackingConsent
public static func pending() -> DDTrackingConsent
public class DDDatadog: NSObject
public static func initialize(configuration: DDConfiguration,trackingConsent: DDTrackingConsent)
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 addUserExtraInfo(_ extraInfo: [String: Any])
public static func setTrackingConsent(consent: DDTrackingConsent)
public static func isInitialized() -> Bool
public static func stopInstance()
public static func clearAllData()
public class DDSite: NSObject
public static func us1() -> DDSite
public static func us3() -> DDSite
public static func us5() -> DDSite
public static func eu1() -> DDSite
public static func ap1() -> DDSite
public static func us1_fed() -> DDSite
public enum DDBatchSize: Int
case small
case medium
case large
public enum DDUploadFrequency: Int
case frequent
case average
case rare
public enum DDBatchProcessingLevel: Int
case low
case medium
case high
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
@objc public var clientToken: String
@objc public var env: String
@objc public var site: DDSite
@objc public var service: String?
@objc public var batchSize: DDBatchSize
@objc public var uploadFrequency: DDUploadFrequency
@objc public var batchProcessingLevel: DDBatchProcessingLevel
@objc public var proxyConfiguration: [AnyHashable: Any]?
public func setEncryption(_ encryption: DDDataEncryption)
public func setServerDateProvider(_ serverDateProvider: DDServerDateProvider)
@objc public var bundle: Bundle
@objc public var additionalConfiguration: [String: Any]
public init(clientToken: String, env: String)
public enum DDSDKVerbosityLevel: Int
case none
case debug
case warn
case error
case critical
public enum DDLogLevel: Int
case debug
case info
case notice
case warn
case error
case critical
public class DDLogsConfiguration: NSObject
@objc public var customEndpoint: URL?
public init(customEndpoint: URL? = nil)
public func setEventMapper(_ mapper: @escaping (DDLogEvent) -> DDLogEvent?)
public class DDLogs: NSObject
public static func enable(with configuration: DDLogsConfiguration = .init())
public static func addAttribute(forKey key: String, value: Any)
public static func removeAttribute(forKey key: String)
public class DDLoggerConfiguration: NSObject
@objc public var service: String?
@objc public var name: String?
@objc public var networkInfoEnabled: Bool
@objc public var bundleWithRumEnabled: Bool
@objc public var bundleWithTraceEnabled: Bool
@objc public var remoteSampleRate: Float
@objc public var printLogsToConsole: Bool
@objc public var remoteLogThreshold: DDLogLevel
public init(service: String? = nil,name: String? = nil,networkInfoEnabled: Bool = false,bundleWithRumEnabled: Bool = true,bundleWithTraceEnabled: Bool = true,remoteSampleRate: Float = 100,remoteLogThreshold: DDLogLevel = .debug,printLogsToConsole: Bool = false)
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 create(with configuration: DDLoggerConfiguration = .init()) -> DDLogger
public class DDLogEvent: NSObject
@objc public var date: Date
@objc public var status: DDLogEventStatus
@objc public var message: String
@objc public var error: DDLogEventError?
@objc public var serviceName: String
@objc public var environment: String
@objc public var loggerName: String
@objc public var loggerVersion: String
@objc public var threadName: String?
@objc public var applicationVersion: String
@objc public var applicationBuildNumber: String
@objc public var buildId: String?
@objc public var variant: String?
@objc public var dd: DDLogEventDd
@objc public var os: DDLogEventOperatingSystem
@objc public var userInfo: DDLogEventUserInfo
@objc public var networkConnectionInfo: DDLogEventNetworkConnectionInfo?
@objc public var mobileCarrierInfo: DDLogEventCarrierInfo?
@objc public var attributes: DDLogEventAttributes
@objc public var tags: [String]?
public enum DDLogEventStatus: Int
case debug
case info
case notice
case warn
case error
case critical
case emergency
public class DDLogEventAttributes: NSObject
@objc public var userAttributes: [String: Any]
public class DDLogEventUserInfo: NSObject
@objc public var id: String?
@objc public var name: String?
@objc public var email: String?
@objc public var extraInfo: [String: Any]
public class DDLogEventError: NSObject
@objc public var kind: String?
@objc public var message: String?
@objc public var stack: String?
@objc public var sourceType: String
@objc public var fingerprint: String?
@objc public var binaryImages: [DDLogEventBinaryImage]?
public class DDLogEventBinaryImage: NSObject
@objc public var arch: String?
@objc public var isSystem: Bool
@objc public var loadAddress: String?
@objc public var maxAddress: String?
@objc public var name: String
@objc public var uuid: String
public class DDLogEventOperatingSystem: NSObject
@objc public var name: String
@objc public var version: String
@objc public var build: String?
public class DDLogEventDd: NSObject
@objc public var device: DDLogEventDeviceInfo
public class DDLogEventDeviceInfo: NSObject
@objc public var brand: String
@objc public var name: String
@objc public var model: String
@objc public var architecture: String
public class DDLogEventNetworkConnectionInfo: NSObject
@objc public var reachability: DDLogEventReachability
@objc public var availableInterfaces: [Int]?
@objc public var supportsIPv4: NSNumber?
@objc public var supportsIPv6: NSNumber?
@objc public var isExpensive: NSNumber?
@objc public var isConstrained: NSNumber?
public enum DDLogEventReachability: Int
case yes
case maybe
case no
public enum DDLogEventInterface: Int
case wifi
case wiredEthernet
case cellular
case loopback
case other
public class DDLogEventCarrierInfo: NSObject
@objc public var carrierName: String?
@objc public var carrierISOCountryCode: String?
@objc public var carrierAllowsVOIP: Bool
@objc public var radioAccessTechnology: DDLogEventRadioAccessTechnology
public enum DDLogEventRadioAccessTechnology: Int
case GPRS
case Edge
case WCDMA
case HSDPA
case HSUPA
case CDMA1x
case CDMAEVDORev0
case CDMAEVDORevA
case CDMAEVDORevB
case eHRPD
case LTE
case unknown
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 DDRUMView: NSObject
@objc public var name: String
@objc public var attributes: [String: Any]
public init(name: String, attributes: [String: Any])
public protocol DDUIKitRUMViewsPredicate: AnyObject
func rumView(for viewController: UIViewController) -> DDRUMView?
public class DDDefaultUIKitRUMViewsPredicate: NSObject, DDUIKitRUMViewsPredicate
public func rumView(for viewController: UIViewController) -> DDRUMView?
public class DDDefaultUIKitRUMActionsPredicate: NSObject, DDUIKitRUMActionsPredicate
public func rumAction(targetView: UIView) -> DDRUMAction?
public class DDRUMAction: NSObject
@objc public var name: String
@objc public var attributes: [String: Any]
public init(name: String, attributes: [String: Any])
public protocol DDUIKitRUMActionsPredicate: DDUITouchRUMActionsPredicate
public protocol DDUITouchRUMActionsPredicate: AnyObject
func rumAction(targetView: UIView) -> DDRUMAction?
public protocol DDUIPressRUMActionsPredicate: AnyObject
func rumAction(press type: UIPress.PressType, targetView: UIView) -> DDRUMAction?
public enum DDRUMErrorSource: Int
case source
case network
case webview
case console
case custom
public enum DDRUMActionType: Int
case tap
case scroll
case swipe
case custom
public enum DDRUMResourceType: Int
case image
case xhr
case beacon
case css
case document
case fetch
case font
case js
case media
case other
case native
public enum DDRUMMethod: Int
case post
case get
case head
case put
case delete
case patch
case connect
case trace
case options
public enum DDRUMVitalsFrequency: Int
case frequent
case average
case rare
case never
public class DDRUMFirstPartyHostsTracing: NSObject
public init(hostsWithHeaderTypes: [String: Set<DDTracingHeaderType>])
public init(hostsWithHeaderTypes: [String: Set<DDTracingHeaderType>], sampleRate: Float)
public init(hosts: Set<String>)
public init(hosts: Set<String>, sampleRate: Float)
public class DDRUMURLSessionTracking: NSObject
override public init()
public func setFirstPartyHostsTracing(_ firstPartyHostsTracing: DDRUMFirstPartyHostsTracing)
public func setResourceAttributesProvider(_ provider: @escaping (URLRequest, URLResponse?, Data?, Error?) -> [String: Any]?)
public class DDRUMConfiguration: NSObject
public init(applicationID: String)
@objc public var applicationID: String
@objc public var sessionSampleRate: Float
@objc public var telemetrySampleRate: Float
@objc public var uiKitViewsPredicate: DDUIKitRUMViewsPredicate?
@objc public var uiKitActionsPredicate: DDUIKitRUMActionsPredicate?
public func setURLSessionTracking(_ tracking: DDRUMURLSessionTracking)
@objc public var trackFrustrations: Bool
@objc public var trackBackgroundEvents: Bool
@objc public var trackWatchdogTerminations: Bool
@objc public var longTaskThreshold: TimeInterval
@objc public var appHangThreshold: TimeInterval
@objc public var vitalsUpdateFrequency: DDRUMVitalsFrequency
public func setViewEventMapper(_ mapper: @escaping (DDRUMViewEvent) -> DDRUMViewEvent)
public func setResourceEventMapper(_ mapper: @escaping (DDRUMResourceEvent) -> DDRUMResourceEvent?)
public func setActionEventMapper(_ mapper: @escaping (DDRUMActionEvent) -> DDRUMActionEvent?)
public func setErrorEventMapper(_ mapper: @escaping (DDRUMErrorEvent) -> DDRUMErrorEvent?)
public func setLongTaskEventMapper(_ mapper: @escaping (DDRUMLongTaskEvent) -> DDRUMLongTaskEvent?)
@objc public var onSessionStart: ((String, Bool) -> Void)?
@objc public var customEndpoint: URL?
public class DDRUM: NSObject
public static func enable(with configuration: DDRUMConfiguration)
public class DDRUMMonitor: NSObject
public static func shared() -> DDRUMMonitor
public func currentSessionID(completion: @escaping (String?) -> Void)
public func stopSession()
public func startView(viewController: UIViewController,name: String?,attributes: [String: Any])
public func stopView(viewController: UIViewController,attributes: [String: Any])
public func startView(key: String,name: String?,attributes: [String: Any])
public func stopView(key: String,attributes: [String: Any])
public func addTiming(name: String)
public func addError(message: String,stack: String?,source: DDRUMErrorSource,attributes: [String: Any])
public func addError(error: Error,source: DDRUMErrorSource,attributes: [String: Any])
public func startResource(resourceKey: String,request: URLRequest,attributes: [String: Any])
public func startResource(resourceKey: String,url: URL,attributes: [String: Any])
public func startResource(resourceKey: String,httpMethod: DDRUMMethod,urlString: String,attributes: [String: Any])
public func addResourceMetrics(resourceKey: String,metrics: URLSessionTaskMetrics,attributes: [String: Any])
public func stopResource(resourceKey: String,response: URLResponse,size: NSNumber?,attributes: [String: Any])
public func stopResource(resourceKey: String,statusCode: NSNumber?,kind: DDRUMResourceType,size: NSNumber?,attributes: [String: Any])
public func stopResourceWithError(resourceKey: String,error: Error,response: URLResponse?,attributes: [String: Any])
public func stopResourceWithError(resourceKey: String,message: String,response: URLResponse?,attributes: [String: Any])
public func startAction(type: DDRUMActionType,name: String,attributes: [String: Any])
public func stopAction(type: DDRUMActionType,name: String?,attributes: [String: Any])
public func addAction(type: DDRUMActionType,name: String,attributes: [String: Any])
public func addAttribute(forKey key: String,value: Any)
public func removeAttribute(forKey key: String)
public func addFeatureFlagEvaluation(name: String, value: Any)
@objc public var debug: Bool
public class DDRUMActionEvent: NSObject
@objc public var dd: DDRUMActionEventDD
@objc public var action: DDRUMActionEventAction
@objc public var application: DDRUMActionEventApplication
@objc public var buildId: String?
@objc public var buildVersion: String?
@objc public var ciTest: DDRUMActionEventRUMCITest?
@objc public var connectivity: DDRUMActionEventRUMConnectivity?
@objc public var container: DDRUMActionEventContainer?
@objc public var context: DDRUMActionEventRUMEventAttributes?
@objc public var date: NSNumber
@objc public var device: DDRUMActionEventRUMDevice?
@objc public var display: DDRUMActionEventDisplay?
@objc public var os: DDRUMActionEventRUMOperatingSystem?
@objc public var service: String?
@objc public var session: DDRUMActionEventSession
@objc public var source: DDRUMActionEventSource
@objc public var synthetics: DDRUMActionEventRUMSyntheticsTest?
@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 configuration: DDRUMActionEventDDConfiguration?
@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 DDRUMActionEventDDConfiguration: NSObject
@objc public var sessionReplaySampleRate: NSNumber?
@objc public var sessionSampleRate: NSNumber
public class DDRUMActionEventDDSession: NSObject
@objc public var plan: DDRUMActionEventDDSessionPlan
@objc public var sessionPrecondition: DDRUMActionEventDDSessionRUMSessionPrecondition
public enum DDRUMActionEventDDSessionPlan: Int
case none
case plan1
case plan2
public enum DDRUMActionEventDDSessionRUMSessionPrecondition: Int
case none
case userAppLaunch
case inactivityTimeout
case maxDuration
case backgroundLaunch
case prewarm
case fromNonInteractiveSession
case explicitStop
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 effectiveType: DDRUMActionEventRUMConnectivityEffectiveType
@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 DDRUMActionEventRUMConnectivityEffectiveType: Int
case none
case slow2g
case effectiveType2g
case effectiveType3g
case effectiveType4g
public enum DDRUMActionEventRUMConnectivityInterfaces: Int
case none
case bluetooth
case cellular
case ethernet
case wifi
case wimax
case mixed
case other
case unknown
case interfacesNone
public enum DDRUMActionEventRUMConnectivityStatus: Int
case connected
case notConnected
case maybe
public class DDRUMActionEventContainer: NSObject
@objc public var source: DDRUMActionEventContainerSource
@objc public var view: DDRUMActionEventContainerView
public enum DDRUMActionEventContainerSource: Int
case android
case ios
case browser
case flutter
case reactNative
case roku
case unity
case kotlinMultiplatform
public class DDRUMActionEventContainerView: NSObject
@objc public var id: String
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 DDRUMActionEventDisplay: NSObject
@objc public var viewport: DDRUMActionEventDisplayViewport?
public class DDRUMActionEventDisplayViewport: NSObject
@objc public var height: NSNumber
@objc public var width: NSNumber
public class DDRUMActionEventRUMOperatingSystem: NSObject
@objc public var build: String?
@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: DDRUMActionEventSessionRUMSessionType
public enum DDRUMActionEventSessionRUMSessionType: 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
case unity
case kotlinMultiplatform
public class DDRUMActionEventRUMSyntheticsTest: 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 buildId: String?
@objc public var buildVersion: String?
@objc public var ciTest: DDRUMErrorEventRUMCITest?
@objc public var connectivity: DDRUMErrorEventRUMConnectivity?
@objc public var container: DDRUMErrorEventContainer?
@objc public var context: DDRUMErrorEventRUMEventAttributes?
@objc public var date: NSNumber
@objc public var device: DDRUMErrorEventRUMDevice?
@objc public var display: DDRUMErrorEventDisplay?
@objc public var error: DDRUMErrorEventError
@objc public var featureFlags: DDRUMErrorEventFeatureFlags?
@objc public var freeze: DDRUMErrorEventFreeze?
@objc public var os: DDRUMErrorEventRUMOperatingSystem?
@objc public var service: String?
@objc public var session: DDRUMErrorEventSession
@objc public var source: DDRUMErrorEventSource
@objc public var synthetics: DDRUMErrorEventRUMSyntheticsTest?
@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 configuration: DDRUMErrorEventDDConfiguration?
@objc public var formatVersion: NSNumber
@objc public var session: DDRUMErrorEventDDSession?
public class DDRUMErrorEventDDConfiguration: NSObject
@objc public var sessionReplaySampleRate: NSNumber?
@objc public var sessionSampleRate: NSNumber
public class DDRUMErrorEventDDSession: NSObject
@objc public var plan: DDRUMErrorEventDDSessionPlan
@objc public var sessionPrecondition: DDRUMErrorEventDDSessionRUMSessionPrecondition
public enum DDRUMErrorEventDDSessionPlan: Int
case none
case plan1
case plan2
public enum DDRUMErrorEventDDSessionRUMSessionPrecondition: Int
case none
case userAppLaunch
case inactivityTimeout
case maxDuration
case backgroundLaunch
case prewarm
case fromNonInteractiveSession
case explicitStop
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 effectiveType: DDRUMErrorEventRUMConnectivityEffectiveType
@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 DDRUMErrorEventRUMConnectivityEffectiveType: Int
case none
case slow2g
case effectiveType2g
case effectiveType3g
case effectiveType4g
public enum DDRUMErrorEventRUMConnectivityInterfaces: Int
case none
case bluetooth
case cellular
case ethernet
case wifi
case wimax
case mixed
case other
case unknown
case interfacesNone
public enum DDRUMErrorEventRUMConnectivityStatus: Int
case connected
case notConnected
case maybe
public class DDRUMErrorEventContainer: NSObject
@objc public var source: DDRUMErrorEventContainerSource
@objc public var view: DDRUMErrorEventContainerView
public enum DDRUMErrorEventContainerSource: Int
case android
case ios
case browser
case flutter
case reactNative
case roku
case unity
case kotlinMultiplatform
public class DDRUMErrorEventContainerView: NSObject
@objc public var id: String
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 DDRUMErrorEventDisplay: NSObject
@objc public var viewport: DDRUMErrorEventDisplayViewport?
public class DDRUMErrorEventDisplayViewport: NSObject
@objc public var height: NSNumber
@objc public var width: NSNumber
public class DDRUMErrorEventError: NSObject
@objc public var binaryImages: [DDRUMErrorEventErrorBinaryImages]?
@objc public var category: DDRUMErrorEventErrorCategory
@objc public var causes: [DDRUMErrorEventErrorCauses]?
@objc public var csp: DDRUMErrorEventErrorCSP?
@objc public var fingerprint: String?
@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 meta: DDRUMErrorEventErrorMeta?
@objc public var resource: DDRUMErrorEventErrorResource?
@objc public var source: DDRUMErrorEventErrorSource
@objc public var sourceType: DDRUMErrorEventErrorSourceType
@objc public var stack: String?
@objc public var threads: [DDRUMErrorEventErrorThreads]?
@objc public var timeSinceAppStart: NSNumber?
@objc public var type: String?
@objc public var wasTruncated: NSNumber?
public class DDRUMErrorEventErrorBinaryImages: NSObject
@objc public var arch: String?
@objc public var isSystem: NSNumber
@objc public var loadAddress: String?
@objc public var maxAddress: String?
@objc public var name: String
@objc public var uuid: String
public enum DDRUMErrorEventErrorCategory: Int
case none
case aNR
case appHang
case exception
case watchdogTermination
case memoryWarning
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 class DDRUMErrorEventErrorCSP: NSObject
@objc public var disposition: DDRUMErrorEventErrorCSPDisposition
public enum DDRUMErrorEventErrorCSPDisposition: Int
case none
case enforce
case report
public enum DDRUMErrorEventErrorHandling: Int
case none
case handled
case unhandled
public class DDRUMErrorEventErrorMeta: NSObject
@objc public var codeType: String?
@objc public var exceptionCodes: String?
@objc public var exceptionType: String?
@objc public var incidentIdentifier: String?
@objc public var parentProcess: String?
@objc public var path: String?
@objc public var process: String?
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
case trace
case options
case connect
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
case ndk
case iosIl2cpp
case ndkIl2cpp
public class DDRUMErrorEventErrorThreads: NSObject
@objc public var crashed: NSNumber
@objc public var name: String
@objc public var stack: String
@objc public var state: String?
public class DDRUMErrorEventFeatureFlags: NSObject
@objc public var featureFlagsInfo: [String: Any]
public class DDRUMErrorEventFreeze: NSObject
@objc public var duration: NSNumber
public class DDRUMErrorEventRUMOperatingSystem: NSObject
@objc public var build: String?
@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: DDRUMErrorEventSessionRUMSessionType
public enum DDRUMErrorEventSessionRUMSessionType: 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
case unity
case kotlinMultiplatform
public class DDRUMErrorEventRUMSyntheticsTest: 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 buildId: String?
@objc public var buildVersion: String?
@objc public var ciTest: DDRUMLongTaskEventRUMCITest?
@objc public var connectivity: DDRUMLongTaskEventRUMConnectivity?
@objc public var container: DDRUMLongTaskEventContainer?
@objc public var context: DDRUMLongTaskEventRUMEventAttributes?
@objc public var date: NSNumber
@objc public var device: DDRUMLongTaskEventRUMDevice?
@objc public var display: DDRUMLongTaskEventDisplay?
@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: DDRUMLongTaskEventRUMSyntheticsTest?
@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 configuration: DDRUMLongTaskEventDDConfiguration?
@objc public var discarded: NSNumber?
@objc public var formatVersion: NSNumber
@objc public var session: DDRUMLongTaskEventDDSession?
public class DDRUMLongTaskEventDDConfiguration: NSObject
@objc public var sessionReplaySampleRate: NSNumber?
@objc public var sessionSampleRate: NSNumber
public class DDRUMLongTaskEventDDSession: NSObject
@objc public var plan: DDRUMLongTaskEventDDSessionPlan
@objc public var sessionPrecondition: DDRUMLongTaskEventDDSessionRUMSessionPrecondition
public enum DDRUMLongTaskEventDDSessionPlan: Int
case none
case plan1
case plan2
public enum DDRUMLongTaskEventDDSessionRUMSessionPrecondition: Int
case none
case userAppLaunch
case inactivityTimeout
case maxDuration
case backgroundLaunch
case prewarm
case fromNonInteractiveSession
case explicitStop
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 effectiveType: DDRUMLongTaskEventRUMConnectivityEffectiveType
@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 DDRUMLongTaskEventRUMConnectivityEffectiveType: Int
case none
case slow2g
case effectiveType2g
case effectiveType3g
case effectiveType4g
public enum DDRUMLongTaskEventRUMConnectivityInterfaces: Int
case none
case bluetooth
case cellular
case ethernet
case wifi
case wimax
case mixed
case other
case unknown
case interfacesNone
public enum DDRUMLongTaskEventRUMConnectivityStatus: Int
case connected
case notConnected
case maybe
public class DDRUMLongTaskEventContainer: NSObject
@objc public var source: DDRUMLongTaskEventContainerSource
@objc public var view: DDRUMLongTaskEventContainerView
public enum DDRUMLongTaskEventContainerSource: Int
case android
case ios
case browser
case flutter
case reactNative
case roku
case unity
case kotlinMultiplatform
public class DDRUMLongTaskEventContainerView: NSObject
@objc public var id: String
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 DDRUMLongTaskEventDisplay: NSObject
@objc public var viewport: DDRUMLongTaskEventDisplayViewport?
public class DDRUMLongTaskEventDisplayViewport: NSObject
@objc public var height: NSNumber
@objc public var width: NSNumber
public class DDRUMLongTaskEventLongTask: NSObject
@objc public var blockingDuration: NSNumber?
@objc public var duration: NSNumber
@objc public var entryType: DDRUMLongTaskEventLongTaskEntryType
@objc public var firstUiEventTimestamp: NSNumber?
@objc public var id: String?
@objc public var isFrozenFrame: NSNumber?
@objc public var renderStart: NSNumber?
@objc public var scripts: [DDRUMLongTaskEventLongTaskScripts]?
@objc public var styleAndLayoutStart: NSNumber?