diff --git a/.github/scripts/run-simulator-tests.sh b/.github/scripts/run-simulator-tests.sh
index 6ecb2a2..e39fed3 100755
--- a/.github/scripts/run-simulator-tests.sh
+++ b/.github/scripts/run-simulator-tests.sh
@@ -41,8 +41,10 @@ printf '{ "sdk": { "version": "%s", "rollForward": "latestFeature" } }\n' "${sdk
# NuGet caches by package id + version, so rebuilding a version that was already restored once
# silently reuses the stale copy. CI versions are unique, but locally you will re-pack the same
# version repeatedly and test yesterday's bits without this. All eleven are cleared, not just the
-# three referenced directly, because the rest arrive as transitive dependencies.
-for package in objc core internal logs rum sessionreplay trace webviewtracking crashreporting crashreporter opentelemetryapi; do
+# ones referenced directly, because the rest arrive as transitive dependencies. crashreporter
+# is gone from the list: dd-sdk-ios 3.0 replaced PLCrashReporter with KSCrash, which is linked
+# into DatadogCrashReporting rather than shipped as a package of its own.
+for package in objc core internal logs rum sessionreplay trace webviewtracking crashreporting flags profiling opentelemetryapi; do
rm -rf "${HOME}/.nuget/packages/datadognet.${package}.ios/${VERSION}"
done
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 9fabce8..5460fef 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -91,7 +91,7 @@ jobs:
{
echo "### Published \`${{ needs.version.outputs.version }}\` to nuget.org"
echo
- for package in Objc Core Internal Logs RUM SessionReplay Trace WebViewTracking CrashReporting CrashReporter OpenTelemetryApi; do
+ for package in Core RUM Logs Trace SessionReplay WebViewTracking CrashReporting Flags Profiling Internal OpenTelemetryApi Objc; do
id="DatadogNet.${package}.iOS"
echo "- [${id}](https://www.nuget.org/packages/${id}/${{ needs.version.outputs.version }})"
done
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 67ccfde..efb38e4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -152,21 +152,23 @@ jobs:
id="DatadogNet.${package}.iOS"
echo "| \`${id}\` | \`${framework}\` | [${VERSION}](https://www.nuget.org/packages/${id}/${VERSION}) |"
done <<'PACKAGES'
- Objc:DatadogObjc
Core:DatadogCore
- Internal:DatadogInternal
- Logs:DatadogLogs
RUM:DatadogRUM
- SessionReplay:DatadogSessionReplay
+ Logs:DatadogLogs
Trace:DatadogTrace
+ SessionReplay:DatadogSessionReplay
WebViewTracking:DatadogWebViewTracking
CrashReporting:DatadogCrashReporting
- CrashReporter:CrashReporter
+ Flags:DatadogFlags
+ Profiling:DatadogProfiling
+ Internal:DatadogInternal
OpenTelemetryApi:OpenTelemetryApi
+ Objc:(compatibility meta-package)
PACKAGES
echo
echo "\`\`\`"
- echo "dotnet add package DatadogNet.Objc.iOS --version ${VERSION}"
+ echo "dotnet add package DatadogNet.Core.iOS --version ${VERSION}"
+ echo "dotnet add package DatadogNet.RUM.iOS --version ${VERSION}"
echo "\`\`\`"
echo
echo "## Licensing"
diff --git a/DatadogNet.sln b/DatadogNet.sln
index df72786..f8b2e21 100644
--- a/DatadogNet.sln
+++ b/DatadogNet.sln
@@ -7,8 +7,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatadogNet.Core.iOS", "src\DatadogNet.Core.iOS\DatadogNet.Core.iOS.csproj", "{2AC96ED9-BE17-4201-A89F-8832C23C07E0}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatadogNet.CrashReporter.iOS", "src\DatadogNet.CrashReporter.iOS\DatadogNet.CrashReporter.iOS.csproj", "{0A67D329-FA08-4301-89CC-17AB1581D5A3}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatadogNet.CrashReporting.iOS", "src\DatadogNet.CrashReporting.iOS\DatadogNet.CrashReporting.iOS.csproj", "{F5AFA73D-050C-46CF-8345-537B15CA8022}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatadogNet.Internal.iOS", "src\DatadogNet.Internal.iOS\DatadogNet.Internal.iOS.csproj", "{CB4B3CFE-99F1-4228-944B-F51F17E2CFA5}"
@@ -31,6 +29,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatadogNet.iOS.DeviceTests"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatadogNet.iOS.PackageTests", "tests\DatadogNet.iOS.PackageTests\DatadogNet.iOS.PackageTests.csproj", "{06A389A7-C3A1-4376-9A70-9CDC8523B026}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatadogNet.Flags.iOS", "src\DatadogNet.Flags.iOS\DatadogNet.Flags.iOS.csproj", "{573CD60D-C97D-4DDF-AA99-4437660167B3}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatadogNet.Profiling.iOS", "src\DatadogNet.Profiling.iOS\DatadogNet.Profiling.iOS.csproj", "{463E235B-6173-498D-A78B-4BE9A6834A6E}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -53,18 +55,6 @@ Global
{2AC96ED9-BE17-4201-A89F-8832C23C07E0}.Release|x64.Build.0 = Release|Any CPU
{2AC96ED9-BE17-4201-A89F-8832C23C07E0}.Release|x86.ActiveCfg = Release|Any CPU
{2AC96ED9-BE17-4201-A89F-8832C23C07E0}.Release|x86.Build.0 = Release|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Debug|x64.ActiveCfg = Debug|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Debug|x64.Build.0 = Debug|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Debug|x86.ActiveCfg = Debug|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Debug|x86.Build.0 = Debug|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Release|Any CPU.Build.0 = Release|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Release|x64.ActiveCfg = Release|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Release|x64.Build.0 = Release|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Release|x86.ActiveCfg = Release|Any CPU
- {0A67D329-FA08-4301-89CC-17AB1581D5A3}.Release|x86.Build.0 = Release|Any CPU
{F5AFA73D-050C-46CF-8345-537B15CA8022}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F5AFA73D-050C-46CF-8345-537B15CA8022}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F5AFA73D-050C-46CF-8345-537B15CA8022}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -197,13 +187,36 @@ Global
{06A389A7-C3A1-4376-9A70-9CDC8523B026}.Release|x64.Build.0 = Release|Any CPU
{06A389A7-C3A1-4376-9A70-9CDC8523B026}.Release|x86.ActiveCfg = Release|Any CPU
{06A389A7-C3A1-4376-9A70-9CDC8523B026}.Release|x86.Build.0 = Release|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Debug|x64.Build.0 = Debug|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Debug|x86.Build.0 = Debug|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Release|x64.ActiveCfg = Release|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Release|x64.Build.0 = Release|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Release|x86.ActiveCfg = Release|Any CPU
+ {573CD60D-C97D-4DDF-AA99-4437660167B3}.Release|x86.Build.0 = Release|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Debug|x64.Build.0 = Debug|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Debug|x86.Build.0 = Debug|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Release|x64.ActiveCfg = Release|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Release|x64.Build.0 = Release|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Release|x86.ActiveCfg = Release|Any CPU
+ {463E235B-6173-498D-A78B-4BE9A6834A6E}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{2AC96ED9-BE17-4201-A89F-8832C23C07E0} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
- {0A67D329-FA08-4301-89CC-17AB1581D5A3} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
{F5AFA73D-050C-46CF-8345-537B15CA8022} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
{CB4B3CFE-99F1-4228-944B-F51F17E2CFA5} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
{D01DE9B5-315C-47A1-88BC-705999DD3140} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
@@ -215,5 +228,7 @@ Global
{36B2500C-19EB-4736-A112-10796ADFDA7A} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
{57699435-10EC-4CA1-983D-9E2E3A43AF47} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
{06A389A7-C3A1-4376-9A70-9CDC8523B026} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
+ {573CD60D-C97D-4DDF-AA99-4437660167B3} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
+ {463E235B-6173-498D-A78B-4BE9A6834A6E} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
EndGlobalSection
EndGlobal
diff --git a/Directory.Build.props b/Directory.Build.props
index f843958..4b55054 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -15,7 +15,7 @@
DataDog-SDK-iOS-net repository versioned CrashReporter.iOS as 1.11.2.1 instead; that made it
impossible to tell which Datadog release a given CrashReporter package belonged to.
-->
- 2.30.2
+ 3.14.0
1
$(DatadogNativeVersion).$(DatadogBindingRevision)
diff --git a/README.md b/README.md
index 5c46a41..3d7547f 100644
--- a/README.md
+++ b/README.md
@@ -7,22 +7,28 @@ Enable Datadog Real User Monitoring, Logs, Trace, Session Replay, WebView tracki
reporting from C#, in a `net8.0-ios`, `net9.0-ios` or `net10.0-ios` app.
```bash
-dotnet add package DatadogNet.Objc.iOS
+dotnet add package DatadogNet.Core.iOS
+dotnet add package DatadogNet.RUM.iOS
```
```csharp
-using DatadogObjc;
+using DatadogCore;
+using DatadogRUM;
var configuration = new DDConfiguration(clientToken: "", env: "production")
{
Service = "my-app",
- Site = DDSite.Us1,
+ Site = DDSite.Us1(),
};
-DDDatadog.InitializeWithConfiguration(configuration, DDTrackingConsent.Granted);
+DDDatadog.InitializeWithConfiguration(configuration, DDTrackingConsent.Granted());
DDRUM.EnableWith(new DDRUMConfiguration(applicationID: ""));
```
+Built against **dd-sdk-ios 3.14.0**. Coming from the 2.x packages? See
+[Migrating from 2.x](#migrating-from-2x) — the types moved namespace, so it is not a version bump
+alone.
+
---
## Contents
@@ -31,8 +37,7 @@ DDRUM.EnableWith(new DDRUMConfiguration(applicationID: ""));
- [Installing](#installing)
- [Usage](#usage)
- [Convenience API](#convenience-api)
-- [API coverage](#api-coverage)
-- [Migrating from `DatadogCore.iOS` / `DatadogObjc.iOS`](#migrating-from-datadogcoreios--datadogobjcios)
+- [Migrating from 2.x](#migrating-from-2x)
- [How this repository works](#how-this-repository-works)
- [Building locally](#building-locally)
- [Upgrading the Datadog SDK](#upgrading-the-datadog-sdk)
@@ -44,43 +49,41 @@ DDRUM.EnableWith(new DDRUMConfiguration(applicationID: ""));
## Packages
-Eleven packages, one per native framework in the Datadog release. Versions are
-`.` — `2.30.2.1` is dd-sdk-ios **2.30.2**, binding revision
-**2**. The fourth component belongs to this repository and advances when the bindings or packaging
+Twelve packages, one per native framework, plus a compatibility meta-package. Versions are
+`.` — `3.14.0.1` is dd-sdk-ios **3.14.0**, binding revision
+**1**. The fourth component belongs to this repository and advances when the bindings or packaging
change while the native binaries stay put.
| Package | Wraps | Depends on | What it is for |
| --- | --- | --- | --- |
-| **`DatadogNet.Objc.iOS`** | `DatadogObjc` | Core, Internal, Logs, RUM, SessionReplay, Trace | **The one you install.** The whole `DD*` API — configuration, RUM, Logs, Trace, Session Replay, tracing headers — and it pulls in every feature module. |
-| `DatadogNet.Core.iOS` | `DatadogCore` | Internal | SDK initialization, consent, user and account info. |
-| `DatadogNet.Internal.iOS` | `DatadogInternal` | — | Shared foundation every other module is built on. |
+| **`DatadogNet.Core.iOS`** | `DatadogCore` | Internal | SDK init, consent, user/account info, URLSession instrumentation. **Always needed.** |
+| **`DatadogNet.RUM.iOS`** | `DatadogRUM` | Core, Internal | Real User Monitoring — the whole `DDRUM*` API. |
| `DatadogNet.Logs.iOS` | `DatadogLogs` | Core, Internal | Log collection. |
-| `DatadogNet.RUM.iOS` | `DatadogRUM` | Core, Internal | Real User Monitoring. |
| `DatadogNet.Trace.iOS` | `DatadogTrace` | Core, Internal, OpenTelemetryApi | Distributed tracing (APM). |
| `DatadogNet.SessionReplay.iOS` | `DatadogSessionReplay` | Core, Internal | Session Replay. Requires RUM. |
-| `DatadogNet.WebViewTracking.iOS` | `DatadogWebViewTracking` | Core, Internal | Bridges RUM/Logs out of a `WKWebView`. Opt-in. |
-| `DatadogNet.CrashReporting.iOS` | `DatadogCrashReporting` | Core, Internal, CrashReporter | Native crash capture. Opt-in. |
-| `DatadogNet.CrashReporter.iOS` | `CrashReporter` | — | PLCrashReporter, the engine underneath crash reporting. |
-| `DatadogNet.OpenTelemetryApi.iOS` | `OpenTelemetryApi` | — | OpenTelemetry API types used by trace propagation. |
-
-Most apps need one line:
-
-```xml
-
-```
-
-Add `DatadogNet.CrashReporting.iOS` for crash reporting and `DatadogNet.WebViewTracking.iOS` for
-hybrid apps. Both are separate on purpose — crash reporting installs a signal handler, and neither
-is something an app that only wanted RUM should pay for.
+| `DatadogNet.WebViewTracking.iOS` | `DatadogWebViewTracking` | Core, Internal | Bridges RUM/Logs out of a `WKWebView`. |
+| `DatadogNet.CrashReporting.iOS` | `DatadogCrashReporting` | Core, Internal | Native crash capture (KSCrash). Reports through RUM. |
+| `DatadogNet.Flags.iOS` | `DatadogFlags` | Core, Internal | Feature flags. **No C# API yet** — see below. |
+| `DatadogNet.Profiling.iOS` | `DatadogProfiling` | Core, Internal | Continuous profiling. **No C# API yet** — see below. |
+| `DatadogNet.Internal.iOS` | `DatadogInternal` | — | Shared foundation. Pulled in transitively. |
+| `DatadogNet.OpenTelemetryApi.iOS` | `OpenTelemetryApi` | — | OpenTelemetry API types for trace propagation. |
+| `DatadogNet.Objc.iOS` | — (meta-package) | Core, RUM, Logs, Trace, SessionReplay | **Compatibility only.** Redirects an existing 2.x `PackageReference`. New apps ignore it. |
+
+Reference the modules you use. A typical app takes `DatadogNet.Core.iOS` plus `DatadogNet.RUM.iOS`,
+and adds `Logs`, `Trace`, `SessionReplay`, `CrashReporting` or `WebViewTracking` as needed.
+
+> **`DatadogNet.Flags.iOS` and `DatadogNet.Profiling.iOS` expose no callable API.** Upstream ships
+> these modules but has not projected them into Objective-C, so there is nothing for C# to bind.
+> The packages exist so the set mirrors the SDK and so adding the API later is a version bump. There
+> is no reason to reference them today.
> **The dependency graph is the real one**, read off the frameworks' Mach-O load commands.
-> `DatadogInternal` is the root: `DatadogCore` and `DatadogTrace` depend on *it*, not the other way
-> round. The previous `DataDog-SDK-iOS-net` packages declared the reverse, and `DatadogTrace.iOS`
-> did not declare `OpenTelemetryApi.iOS` at all — so referencing Trace alone did not link.
+> `DatadogInternal` is the root; every product module depends on it, and `DatadogTrace` also on
+> `OpenTelemetryApi`.
**Target frameworks**: `net8.0-ios18.0`, `net9.0-ios18.0`, `net10.0-ios26.0`.
**Minimum deployment target**: iOS **12.2** — the Datadog frameworks are Swift and use the
-OS-provided Swift runtime, which is only ABI-stable from 12.2.
+OS-provided Swift runtime, ABI-stable from 12.2.
---
@@ -88,66 +91,66 @@ OS-provided Swift runtime, which is only ABI-stable from 12.2.
```xml
-
+
+
```
-```xml
-12.2
-```
-
-The packages are iOS-only. In a multi-targeted MAUI project, guard the reference so an Android or
-Windows head does not try to restore them:
+In a multi-targeted MAUI project, guard the references so an Android or Windows head does not try to
+restore them:
```xml
-
+
+
```
+```xml
+12.2
+```
+
---
## Usage
-The C# names are the Objective-C selectors projected into C#, so
-`initializeWithConfiguration:trackingConsent:` becomes
-`InitializeWithConfiguration(configuration, consent)`. Everything is in the `DatadogObjc`
-namespace.
-
-[`samples/DatadogNet.iOS.Example`](samples/DatadogNet.iOS.Example) is a working MAUI app that does
-all of the below; [`Datadog.cs`](samples/DatadogNet.iOS.Example/Datadog.cs) is the setup in one file.
+The C# names are the Objective-C selectors projected into C#. Each feature is in its own namespace
+now — one `using` per module. [`samples/DatadogNet.iOS.Example`](samples/DatadogNet.iOS.Example) is
+a working MAUI app that does all of the below;
+[`Datadog.cs`](samples/DatadogNet.iOS.Example/Datadog.cs) is the setup in one file.
### Initialize
-Once, as early as possible. In MAUI that means `MauiProgram.CreateMauiApp` before the builder runs —
-crash reporting only covers what happens after it is enabled, and startup crashes are the ones
-worth catching.
+Once, as early as possible — in MAUI, in `MauiProgram.CreateMauiApp` before the builder runs, so
+crash reporting and startup metrics cover the whole launch.
```csharp
+using DatadogCore;
+using DatadogInternal; // DDCoreLoggerLevel
+
var configuration = new DDConfiguration(clientToken: "", env: "production")
{
Service = "my-app",
- Site = DDSite.Us1, // Us1, Us3, Us5, Eu1, Ap1, Us1_fed
+ Site = DDSite.Us1(), // Us1, Us3, Us5, Eu1, Ap1, Ap2, Us1_fed
};
-DDDatadog.InitializeWithConfiguration(configuration, DDTrackingConsent.Granted);
-DDDatadog.VerbosityLevel = DDSDKVerbosityLevel.Warn; // SDK problems to the Xcode console
+DDDatadog.InitializeWithConfiguration(configuration, DDTrackingConsent.Granted());
+DDDatadog.SetVerbosityLevel(DDCoreLoggerLevel.Warn); // SDK problems to the Xcode console
```
-`DDConfiguration` also exposes `BatchSize`, `UploadFrequency`, `BatchProcessingLevel`,
-`ProxyConfiguration`, `AdditionalConfiguration`, and hooks for custom encryption and server-date
-providers.
+`DDSite` and `DDTrackingConsent` are classes of static factory methods, so the values are called:
+`DDSite.Us1()`, `DDTrackingConsent.Granted()`.
### RUM
```csharp
+using DatadogRUM;
+
var rum = new DDRUMConfiguration(applicationID: "")
{
SessionSampleRate = 100,
TrackFrustrations = true,
- TrackBackgroundEvents = true,
- // Automatic UIKit instrumentation. MAUI renders through UIKit, so these report views and
- // taps with no per-page code.
+ TrackMemoryWarnings = true, // new in 3.0
UiKitViewsPredicate = new DDDefaultUIKitRUMViewsPredicate(),
UiKitActionsPredicate = new DDDefaultUIKitRUMActionsPredicate(),
};
@@ -155,17 +158,18 @@ var rum = new DDRUMConfiguration(applicationID: "")
DDRUM.EnableWith(rum);
```
-Manual reporting through `DDRUMMonitor.Shared`:
+Manual reporting through `DDRUMMonitor.Shared()`:
```csharp
-var monitor = DDRUMMonitor.Shared;
+var monitor = DDRUMMonitor.Shared();
using (monitor.StartView("checkout", "Checkout"))
{
- monitor.AddAction(DDRUMActionType.Tap, "pay", new Dictionary
- {
- ["cart.total"] = 42.50m,
- });
+ // View-level attributes propagate to the actions, resources and errors recorded here - a 3.0
+ // change that removes the need to repeat them on every call.
+ monitor.AddViewAttributes(new Dictionary { ["cart.total"] = 42.50m });
+
+ monitor.AddAction(DDRUMActionType.Tap, "pay");
try { /* ... */ }
catch (Exception exception) { monitor.AddError(exception); }
@@ -175,6 +179,8 @@ using (monitor.StartView("checkout", "Checkout"))
### Logs
```csharp
+using DatadogLogs;
+
DDLogs.Enable();
var logger = DDLogger.Create(name: "app", bundleWithRumEnabled: true);
@@ -186,11 +192,23 @@ logger.Log(DDLogLevel.Error, "payment failed", exception, new Dictionary
+{
+ logEvent.Message = Redact(logEvent.Message);
+ return logEvent; // or return null to drop the event
+});
+DDLogs.EnableWith(configuration);
+```
### Trace
```csharp
+using DatadogTrace;
+
DDTrace.EnableWith(new DDTraceConfiguration
{
SampleRate = 100,
@@ -199,10 +217,25 @@ DDTrace.EnableWith(new DDTraceConfiguration
});
```
-For distributed tracing across your backend, attach `DDNSURLSessionDelegate` to your
-`NSUrlSession`, or use the `DDRUMURLSessionTracking` / `DDTraceURLSessionTracking` first-party-host
-helpers. Propagation style is chosen with `DDTracingHeaderType` — `Datadog`, `B3`, `B3multi` or
-`Tracecontext`.
+Header writers for distributed tracing — `DDHTTPHeadersWriter` (Datadog), `DDB3HTTPHeadersWriter`
+(B3) and `DDW3CHTTPHeadersWriter` (W3C `tracecontext`). None takes a sampling argument in 3.x;
+sampling is derived from the RUM `session.id`.
+
+### Network instrumentation
+
+Automatic RUM resource collection and trace propagation, from 3.0 through the unified
+`DDURLSessionInstrumentation`. This binding resolves the delegate class for you:
+
+```csharp
+using DatadogCore;
+
+DDURLSessionInstrumentation.Enable();
+// ...
+DDURLSessionInstrumentation.Disable();
+```
+
+`MySessionDelegate` must be an `NSObject` implementing `INSUrlSessionDataDelegate` with a
+`[Register]` attribute. Attach it to your `NSUrlSession` as usual.
### Session Replay
@@ -216,11 +249,8 @@ DDSessionReplay.EnableWith(new DDSessionReplayConfiguration(
touchPrivacyLevel: DDTouchPrivacyLevel.Hide));
```
-Requires RUM. The three levels decide what is redacted *on the device*, before anything is
-uploaded, and the initializer requires all three so the choice is never left implicit. Loosen them
-deliberately.
-
-A single view can override the session-wide levels:
+Requires RUM. The three levels are required arguments, so what gets redacted *on the device* is
+always an explicit choice. A single view can override them:
```csharp
var overrides = myView.GetDdSessionReplayPrivacyOverrides();
@@ -228,9 +258,6 @@ overrides.TextAndInputPrivacy = DDTextAndInputPrivacyLevelOverride.MaskAll;
overrides.Hide = new NSNumber(true);
```
-Set `StartRecordingImmediately = false` to enable the feature without recording, then call
-`DDSessionReplay.StartRecording()` once the user has consented, and `StopRecording()` to pause.
-
### Crash reporting
Add `DatadogNet.CrashReporting.iOS`, then enable it **after** initializing the SDK:
@@ -241,155 +268,80 @@ using DatadogCrashReporting;
DDCrashReporter.Enable();
```
-Crashes are reported on the next launch, as RUM errors and logs. Upload your app's dSYMs to Datadog
-for symbolication.
+The engine is KSCrash. Crashes are reported on the next launch as **RUM errors** — enable RUM too,
+or they are not delivered. Upload your app's dSYMs to Datadog for symbolication.
-### WebView tracking
-
-```csharp
-using DatadogWebViewTracking;
-
-DDWebViewTracking.EnableWithWebView(webView, new NSSet((NSString)"example.com"), logsSampleRate: 100);
-DDWebViewTracking.DisableWithWebView(webView); // on teardown
-```
-
-### User info and consent
+### User, account and consent
```csharp
DDDatadog.SetUserInfo("user-123", "Ada Lovelace", "ada@example.com");
+DDDatadog.SetAccountInfo("acct-42", "Acme Corp");
DDDatadog.SetTrackingConsent(TrackingConsent.Pending);
```
-`Pending` collects events but holds them on the device until consent is granted or refused — which
-is what a prompt-on-first-launch flow wants.
-
---
## Convenience API
The generated binding is a faithful projection of Objective-C, which makes some things clumsy in
-C#. `DatadogNet.Objc.iOS` adds a small hand-written layer over it. The generated members are all
-still there; nothing is hidden or renamed.
+C#. Each product module adds a small hand-written layer over it. The generated members are all still
+there; nothing is hidden or renamed.
| Instead of | Write |
| --- | --- |
-| `monitor.StartViewWithKey("k", "Name", new NSDictionary())` … `StopViewWithKey` | `using (monitor.StartView("k", "Name"))` |
-| `new NSDictionary(...)` with hand-wrapped `NSObject` values | `new Dictionary { ["k"] = 42 }` on any overload below |
+| `monitor.StartViewWithKey(...)` … `StopViewWithKey(...)` matched by key | `using (monitor.StartView("k", "Name"))` |
+| `new NSDictionary(...)` with hand-wrapped values | `new Dictionary { ["k"] = 42 }` on any overload below |
| `monitor.AddActionWithType(type, name, attributes)` | `monitor.AddAction(type, name, attributes?)` |
| `monitor.AddErrorWithMessage(...)` with an `NSError` you do not have | `monitor.AddError(exception)` |
-| `DDLogs.EnableWith(new DDLogsConfiguration(null))` | `DDLogs.Enable()` |
+| `monitor.AddViewAttributes(nsDictionary)` | `monitor.AddViewAttributes(dictionary)` / `RemoveViewAttributes(params keys)` |
+| six log methods per level, plus an `NSError` you do not have | `logger.Log(level, message, exception?, attributes?)` |
| `new DDLoggerConfiguration(service, name, bool, bool, bool, float, level, bool)` | `DDLogger.Create(name: "app")` |
-| six methods per level, plus an `NSError` you do not have | `logger.Log(level, message, exception?, attributes?)` |
-| `DDDatadog.SetUserInfoWithId(id, null, null, empty)` | `DDDatadog.SetUserInfo(id)` |
-| `DDTrackingConsent.Granted` (a class, not an enum) | `DDDatadog.SetTrackingConsent(TrackingConsent.Granted)` |
-| `DDURLSessionInstrumentation.EnableWithConfiguration(...)` with a `Class` as a raw `IntPtr` | `DDURLSessionInstrumentation.Enable()` |
-
-The view scope is the one worth adopting everywhere: the raw API is a `StartViewWithKey` /
-`StopViewWithKey` pair matched by string key, and a view left open by an early return or an
-exception captures every later action and error in the session.
+| `DDDatadog.SetUserInfoWithUserId(id, null, null, empty)` | `DDDatadog.SetUserInfo(id)` |
+| `DDTrackingConsent.Granted()` (a factory, not an enum) | `DDDatadog.SetTrackingConsent(TrackingConsent.Granted)` |
+| `DDURLSessionInstrumentation.EnableWithConfiguration(...)` with a raw `Class` handle | `DDURLSessionInstrumentation.Enable()` |
Attribute values may be strings, any numeric type, `bool`, `DateTime`, `DateTimeOffset`, `Guid`,
-enums, `NSObject`s, arrays, and nested dictionaries. Anything else throws `ArgumentException`
-rather than being silently dropped.
-
-### Redacting events before upload
-
-Both RUM and Logs let you rewrite or drop events on the device, before anything is uploaded. This
-is the supported way to keep PII out of Datadog.
-
-```csharp
-var logs = new DDLogsConfiguration(customEndpoint: null);
-logs.SetEventMapper(logEvent =>
-{
- logEvent.Message = Redact(logEvent.Message);
- return logEvent; // or return null to drop the event entirely
-});
-DDLogs.EnableWith(logs);
-```
-
-RUM has five equivalents — `SetViewEventMapper`, `SetActionEventMapper`, `SetResourceEventMapper`,
-`SetErrorEventMapper` and `SetLongTaskEventMapper` — registered on `DDRUMConfiguration` before
-`DDRUM.EnableWith`. Mappers can only be set at configuration time.
-
-### Network instrumentation
-
-```csharp
-DDURLSessionInstrumentation.Enable();
-```
-
-`MySessionDelegate` must be an `NSObject` implementing `INSUrlSessionDataDelegate` and carrying a
-`[Register]` attribute. The raw binding takes the delegate class as an `IntPtr`, which accepts
-`IntPtr.Zero` happily and then instruments nothing; the generic form resolves the Objective-C class
-and throws if it does not exist.
+enums, `NSObject`s, arrays, and nested dictionaries. Anything else throws `ArgumentException` rather
+than being silently dropped. `DatadogAttributes` lives in `DatadogCore`.
---
-## API coverage
-
-Every public Objective-C type Datadog declares for 2.30.2 is bound except one, and every documented
-feature is reachable from C#. Measured by parsing the `-Swift.h` header each xcframework ships and
-diffing it against the bound selectors — not by reading the documentation.
-
-The unbound type is **`DDRUMLongTaskEventLongTaskScripts`**, with the `scripts` property that
-returns it. It describes JavaScript long tasks, is reachable only from inside a RUM long-task event
-mapper, and a native iOS app does not produce them.
-
-Three further groups of *members* are deliberately not bound:
-
-- **Four `DDTelemetryConfigurationEventTelemetryConfiguration` properties** named after the Session
- Replay privacy levels. These are read-only fields on a *telemetry* event, describing what the SDK
- reported about its own configuration; they are not knobs. The real ones are on
- `DDSessionReplayConfiguration`, and all of those are bound.
-- **`initWithSamplingRate:` and `initWithSamplingRate:injectEncoding:` on the tracing header
- writers** — deprecated upstream, and differing from the bound `initWithSampleRate:` forms only by
- argument label, which Objective Sharpie cannot project as two separate initializers.
-- **Three `URLSession` overloads on `DatadogURLSessionDelegate`** — see
- [the note in that binding](src/DatadogNet.Internal.iOS/ApiDefinitions.cs); binding them crashes
- every consuming app at startup, and they remain callable under their inherited names.
+## Migrating from 2.x
----
-
-## Migrating from `DatadogCore.iOS` / `DatadogObjc.iOS`
+The 2.x packages (`2.30.2.1` and earlier) bound dd-sdk-ios 2.x, where every `DD*` type lived in a
+single `DatadogObjc` namespace. **dd-sdk-ios 3.0 deleted that framework and moved the types into the
+module each belongs to**, so migration is a code change, not a version bump.
-The package IDs changed; **the namespaces and the API did not**. Migration is a `PackageReference`
-edit — no `using` directive and no call site changes.
+**Namespaces.** Replace `using DatadogObjc;` with a per-feature set:
```diff
--
-+
+-using DatadogObjc;
++using DatadogCore; // DDDatadog, DDConfiguration, DDSite, DDTrackingConsent
++using DatadogRUM; // DDRUM, DDRUMMonitor, DDRUMConfiguration, RUM event models
++using DatadogLogs; // DDLogs, DDLogger, DDLoggerConfiguration
++using DatadogTrace; // DDTrace, DDTracer, header writers
++using DatadogInternal; // DDCoreLoggerLevel, DDTracingHeaderType
```
-| Old | New |
-| --- | --- |
-| `DatadogObjc.iOS` | `DatadogNet.Objc.iOS` |
-| `DatadogCore.iOS` | `DatadogNet.Core.iOS` |
-| `DatadogInternal.iOS` | `DatadogNet.Internal.iOS` |
-| `DatadogLogs.iOS` | `DatadogNet.Logs.iOS` |
-| `DatadogRUM.iOS` | `DatadogNet.RUM.iOS` |
-| `DatadogTrace.iOS` | `DatadogNet.Trace.iOS` |
-| `DatadogSessionReplay.iOS` | `DatadogNet.SessionReplay.iOS` |
-| `DatadogWebViewTracking.iOS` | `DatadogNet.WebViewTracking.iOS` |
-| `DatadogCrashReporting.iOS` | `DatadogNet.CrashReporting.iOS` |
-| `CrashReporter.iOS` | `DatadogNet.CrashReporter.iOS` |
-| `OpenTelemetryApi.iOS` | `DatadogNet.OpenTelemetryApi.iOS` |
-
-Three things genuinely changed:
-
-**A startup crash is fixed.** The old `DatadogInternal.iOS` bound three `URLSession` overloads that
-`INSUrlSessionDataDelegate` already declares, registering each selector twice. Any app that loaded
-the package died during assembly registration before running a line of its own code:
+**Packages.** If you referenced `DatadogNet.Objc.iOS`, it still resolves — it is now a
+dependency-only meta-package pulling Core, RUM, Logs, Trace and SessionReplay — but prefer moving to
+the product modules directly. `DatadogNet.CrashReporter.iOS` is retired (KSCrash replaced
+PLCrashReporter and is part of `DatadogNet.CrashReporting.iOS`).
-```
-Could not register the selector 'URLSession:task:didFinishCollectingMetrics:' … because the
-selector is already registered on the member 'DidFinishCollectingMetrics'.
-```
+**API changes**, all upstream:
-**`CrashReporter` is versioned with everything else.** It was `1.11.2.1`, tracking PLCrashReporter
-upstream; it is now `2.30.2.1` like the rest, because it ships inside the same Datadog release and
-the old numbering made it impossible to tell which Datadog build a given package belonged to.
+| 2.x | 3.x |
+| --- | --- |
+| `DDSite.Us1` (property) | `DDSite.Us1()` (factory method) |
+| `DDTrackingConsent.Granted` | `DDTrackingConsent.Granted()` |
+| `DatadogURLSessionDelegate` / `DDNSURLSessionDelegate` | `DDURLSessionInstrumentation.Enable()` |
+| `DDOTelHTTPHeadersWriter` | `DDW3CHTTPHeadersWriter` |
+| `new DDHTTPHeadersWriter(samplingStrategy, injection)` | `new DDHTTPHeadersWriter(injection)` |
+| `RUMView(path:)` | `RUMView(name:)` |
+| crashes via Logs | crashes via RUM error tracking |
-**`net7.0-ios` is gone, `net9`/`net10` are new.** The old packages targeted `net7.0-ios16.1` and
-`net8.0-ios17.2`.
+If you cannot make these changes yet, **stay on `2.30.2.1`** — it remains on nuget.org. Note that
+the 2.x line receives no further upstream fixes.
---
@@ -413,24 +365,19 @@ pinned in [`build/checksums.txt`](build/checksums.txt), and strips it to the two
**Why the two-pass build.** Each .NET SDK's iOS workload supports the current target framework and
the previous one — the .NET 9 band builds net8 + net9, the .NET 10 band builds net9 + net10. No
single SDK builds all three, so `BuildNugets.sh` packs twice and
-[`merge-packages.py`](build/merge-packages.py) grafts the net10 assets into the net9 packages,
-carrying the dependency group across with them.
-
-**Why the slices are stripped.** The upstream archive carries tvOS for every framework, plus
-macCatalyst, macOS, watchOS and visionOS for two of them, and a full set of dSYMs. None of it is
-reachable from a `net*-ios` binding, and the whole xcframework is embedded in each assembly's
-payload once per target framework. Stripping takes the eleven packages from roughly a gigabyte to
-about 74 MB.
+[`merge-packages.py`](build/merge-packages.py) grafts the net10 assets and dependency groups into
+the net9 packages.
### Layout
| Path | What |
| --- | --- |
-| `src/DatadogNet.*.iOS/` | One binding project per framework. `ApiDefinitions.cs` and `StructsAndEnums.cs` are committed sources, not generated at build time. |
-| `src/Datadog.Binding.props` | Everything the eleven projects share, so each `.csproj` is a dozen lines. |
-| `src/DatadogNet.Objc.iOS/Additions/` | The hand-written [convenience API](#convenience-api). |
+| `src/DatadogNet.*.iOS/` | One binding project per framework. `ApiDefinitions.cs` and `StructsAndEnums.cs` are committed sources. |
+| `src/Datadog.Binding.props` | Everything the binding projects share, so each `.csproj` is a dozen lines. |
+| `src/DatadogNet.*.iOS/Additions/` | The hand-written [convenience API](#convenience-api), in Core, RUM and Logs. |
+| `src/DatadogNet.Objc.iOS/` | The compatibility meta-package: dependencies, no assembly. |
| `build/` | Fetch, pack, merge and binding-regeneration scripts, plus the checksum pins. |
-| `tests/DatadogNet.iOS.PackageTests/` | Asserts the shape of the packed `.nupkg`s — 123 checks over layout, slices, manifests, dependencies and metadata. |
+| `tests/DatadogNet.iOS.PackageTests/` | Asserts the shape of the packed `.nupkg`s — 127 checks. |
| `tests/DatadogNet.iOS.DeviceTests/` | An iOS app that consumes the **packed packages** and drives the real SDK on a simulator. |
| `samples/DatadogNet.iOS.Example/` | A MAUI app doing the same, the way an app would. |
@@ -438,10 +385,10 @@ The tests consume the packed `.nupkg`s from `artifacts/` rather than referencing
they exercise what actually gets published — including the inter-package dependencies, which a
`ProjectReference` would bypass entirely.
-`DatadogNet.sln` deliberately contains the binding projects and the tests but **not** the sample.
-A solution-wide `Release` build would AOT-compile the MAUI app for device across both of its target
-frameworks, which takes longer than everything else in the repository put together. Build the
-sample directly, as the command in the previous section does.
+`DatadogNet.sln` deliberately contains the binding projects and the tests but **not** the sample. A
+solution-wide `Release` build would AOT-compile the MAUI app for device across both of its target
+frameworks, which takes longer than everything else in the repository put together. Build the sample
+directly, as the command in the next section does.
---
@@ -450,15 +397,15 @@ sample directly, as the command in the previous section does.
Requires macOS, Xcode, and the .NET 9 and .NET 10 SDKs with the `ios` workload.
```bash
-./build/FetchXcFrameworks.sh # ~100 MB, verified against build/checksums.txt
-./build/BuildNugets.sh # packs all eleven into artifacts/
+./build/FetchXcFrameworks.sh # ~200 MB, verified against build/checksums.txt
+./build/BuildNugets.sh # packs all twelve into artifacts/
dotnet test tests/DatadogNet.iOS.PackageTests
```
Run the on-simulator smoke tests against the packed packages:
```bash
-./.github/scripts/run-simulator-tests.sh 2.30.2.1 net9.0-ios18.0
+./.github/scripts/run-simulator-tests.sh 3.14.0.1 net9.0-ios18.0
```
Build and run the sample:
@@ -479,7 +426,7 @@ dotnet build samples/DatadogNet.iOS.Example/DatadogNetExample.csproj -p:RuntimeI
1. Record the new archive's hash in [`build/checksums.txt`](build/checksums.txt):
```bash
- v=2.18.0
+ v=3.15.0
curl -fsSL -O "https://github.com/DataDog/dd-sdk-ios/releases/download/$v/Datadog.xcframework.zip"
shasum -a 256 Datadog.xcframework.zip
```
@@ -496,17 +443,18 @@ If Datadog adds or removes a framework, `FetchXcFrameworks.sh` fails loudly rath
dropping a package — update the `FRAMEWORKS` list, add or remove the binding project, and update
`Packages.All` in the package tests.
-> **Note for 3.x.** dd-sdk-ios 3.0 removed `DatadogObjc` entirely — the `DD*` types moved into each
-> feature module — dropped PLCrashReporter for KSCrash, and added `DatadogFlags` and
-> `DatadogProfiling`. Moving to 3.x is a re-layout of the package set, not a version bump.
+> **Note.** Objective Sharpie 3.5.116 cannot currently generate these bindings — its bundled clang
+> fails on recent iOS SDK module maps. The committed sources were produced by parsing the shipped
+> `-Swift.h` headers directly; `GenerateBindings.sh` documents the problem and honours a `SHARPIE`
+> override for when it is fixed.
---
## Releasing
-Tag it. `v2.30.2.1` builds, tests, publishes all eleven packages to nuget.org via trusted
-publishing, and creates a GitHub release. The tag drives which native SDK is bound, so an older
-line can be released by tagging it.
+Tag it. `v3.14.0.1` builds, tests, publishes every package to nuget.org via trusted publishing, and
+creates a GitHub release. The tag drives which native SDK is bound, so an older line can be released
+by tagging it.
Pull requests publish a `-beta..` prerelease of the whole set.
@@ -516,28 +464,27 @@ Curated notes in `docs/release-notes/.md` replace the generated commit
## Troubleshooting
-**Nothing appears in Datadog.** Check `Site` matches your organisation's region — this is the most
-common cause. Set `DDDatadog.VerbosityLevel = DDSDKVerbosityLevel.Debug` to see the SDK's own
-diagnostics in the Xcode console.
+**`DDDatadog`/`DDRUMMonitor`/`DDLogger` could not be found.** The types moved namespace in 3.0. Add
+the per-module `using` — see [Migrating from 2.x](#migrating-from-2x).
-**`DDSessionReplay` could not be found.** It moved out of the `DatadogObjc` namespace in
-dd-sdk-ios 2.19.0 and now lives only in `DatadogSessionReplay`. Add `using DatadogSessionReplay;`.
+**Nothing appears in Datadog.** Check `Site` matches your organisation's region — the most common
+cause. Set `DDDatadog.SetVerbosityLevel(DDCoreLoggerLevel.Debug)` to see the SDK's own diagnostics
+in the Xcode console.
+
+**Crashes do not show up.** Crash reports are delivered through RUM in 3.x, so RUM must be enabled
+alongside Crash Reporting, and dSYMs uploaded for symbolication.
**`This version of .NET for iOS requires Xcode 26.0`.** Only affects `net10.0-ios26.0`. See
[Building locally](#building-locally).
-**Restore fails on Windows with a path-length error.** Should not happen — the native payload ships
-as a single compressed file precisely to avoid it. Please file an issue.
-
**A framework fails to load at runtime.** Usually a partially restored package. Clear the cached
-copies and restore again:
-`rm -rf ~/.nuget/packages/datadognet.*`.
+copies and restore again: `rm -rf ~/.nuget/packages/datadognet.*`.
---
## Licence
The binding code in this repository is [MIT](LICENSE). The native binaries the packages ship are
-built and published by Datadog and are Apache-2.0 — which covers `dd-sdk-ios`, PLCrashReporter and
+built and published by Datadog and are Apache-2.0 — which covers `dd-sdk-ios`, KSCrash and
opentelemetry-swift alike. Every package declares `MIT AND Apache-2.0` and carries both texts under
`licenses/`.
diff --git a/build/BuildNugets.sh b/build/BuildNugets.sh
index 5cee111..d062ecc 100755
--- a/build/BuildNugets.sh
+++ b/build/BuildNugets.sh
@@ -2,7 +2,7 @@
set -e
-# Builds and packs all eleven Datadog binding packages. Run ./FetchXcFrameworks.sh first.
+# Builds and packs all twelve Datadog binding packages. Run ./FetchXcFrameworks.sh first.
#
# Usage:
# ./BuildNugets.sh # version from Directory.Build.props
@@ -32,8 +32,9 @@ PASS2_SDK="10.0.100"
# Packed in dependency order. Nothing requires it - ProjectReference means MSBuild builds each
# package's dependencies on demand - but it keeps the log readable and means a failure in a base
-# package is reported before the ten packages built on top of it repeat the same error.
-PACKAGES="Internal Core CrashReporter OpenTelemetryApi Trace Logs RUM SessionReplay WebViewTracking CrashReporting Objc"
+# package is reported before the packages built on top of it repeat the same error. Objc is last:
+# it is a dependency-only meta-package covering the modules DatadogObjc used to hold.
+PACKAGES="Internal OpenTelemetryApi Core Trace Logs RUM SessionReplay WebViewTracking CrashReporting Flags Profiling Objc"
VERSION_ARG=""
if [ -n "$VERSION" ]; then
diff --git a/build/FetchXcFrameworks.sh b/build/FetchXcFrameworks.sh
index b9ccc92..47658bc 100755
--- a/build/FetchXcFrameworks.sh
+++ b/build/FetchXcFrameworks.sh
@@ -47,9 +47,11 @@ case "$DATADOG_VERSION" in
esac
# The eleven frameworks the archive ships. Listed rather than globbed so that a framework
-# appearing or disappearing upstream - as DatadogObjc did in 3.0, and DatadogFlags in 3.x - is a
-# loud failure here rather than a package that silently stops being built.
-FRAMEWORKS="CrashReporter DatadogCore DatadogCrashReporting DatadogInternal DatadogLogs DatadogObjc DatadogRUM DatadogSessionReplay DatadogTrace DatadogWebViewTracking OpenTelemetryApi"
+# appearing or disappearing upstream is a loud failure here rather than a package that silently
+# stops being built. 3.0 exercised exactly that: DatadogObjc was removed and its contents folded
+# into the product modules, CrashReporter went away when KSCrash replaced PLCrashReporter, and
+# DatadogFlags and DatadogProfiling appeared.
+FRAMEWORKS="DatadogCore DatadogCrashReporting DatadogFlags DatadogInternal DatadogLogs DatadogProfiling DatadogRUM DatadogSessionReplay DatadogTrace DatadogWebViewTracking OpenTelemetryApi"
expected=$(sed -n "s/^$DATADOG_VERSION[[:space:]]\{1,\}\([0-9a-f]\{64\}\).*/\1/p" "$CHECKSUMS" | head -1)
if [ -z "$expected" ]; then
diff --git a/build/GenerateBindings.sh b/build/GenerateBindings.sh
index 74e9afc..78baf28 100755
--- a/build/GenerateBindings.sh
+++ b/build/GenerateBindings.sh
@@ -74,7 +74,7 @@ fi
FRAMEWORKS="$1"
if [ -z "$FRAMEWORKS" ]; then
- FRAMEWORKS="CrashReporter DatadogCore DatadogCrashReporting DatadogInternal DatadogLogs DatadogObjc DatadogRUM DatadogSessionReplay DatadogTrace DatadogWebViewTracking OpenTelemetryApi"
+ FRAMEWORKS="DatadogCore DatadogCrashReporting DatadogFlags DatadogInternal DatadogLogs DatadogProfiling DatadogRUM DatadogSessionReplay DatadogTrace DatadogWebViewTracking OpenTelemetryApi"
fi
# The SDK the headers are parsed against. Nothing is compiled here, so this only has to be a
diff --git a/build/checksums.txt b/build/checksums.txt
index a1f34c3..c7bde9d 100644
--- a/build/checksums.txt
+++ b/build/checksums.txt
@@ -19,3 +19,4 @@
2.17.0 e948375d758527118550e5a5f89a332264309b19c96e3ec56e2bf84789b6f5f9
2.30.2 0f944182502801c7bf7e47ddc2a6a3be54fcc6067fb7f9ef8a495a86361baaa7
+3.14.0 db190871593e0bd38bb8fc2bf9c9e01b06b8d43b41460bffec658e9321d9ce6d
diff --git a/build/merge-packages.py b/build/merge-packages.py
index d502c77..c1f0018 100644
--- a/build/merge-packages.py
+++ b/build/merge-packages.py
@@ -6,9 +6,12 @@
therefore built in two passes (see BuildNugets.sh) and merged here into one package per id.
For every package in PRIMARY, any lib// tree that exists in the matching ADDITIONAL package
-but not in PRIMARY is copied across, and the matching is lifted out
-of ADDITIONAL's nuspec so NuGet advertises the new target framework. Everything else comes from
-PRIMARY unchanged.
+but not in PRIMARY is copied across, and any ADDITIONAL declares and
+PRIMARY does not is lifted across too. Everything else comes from PRIMARY unchanged.
+
+The two are tracked independently on purpose: DatadogNet.Objc.iOS is a dependency-only
+meta-package with no lib/ folders, so deciding what to merge from lib/ alone left it declaring no
+dependencies at all for net10.
The dependency group is copied rather than synthesised as an empty one. Ten of the eleven packages
here declare dependencies on their siblings, and an empty group would tell NuGet that a net10.0-ios
@@ -76,37 +79,50 @@ def add_dependency_groups(nuspec: str, groups: list[str]) -> str:
def merge(primary_path: Path, additional_path: Path, output_path: Path) -> list[str]:
with zipfile.ZipFile(primary_path) as primary, zipfile.ZipFile(additional_path) as additional:
- missing = sorted(target_frameworks(additional) - target_frameworks(primary))
- if not missing:
- shutil.copy2(primary_path, output_path)
- return []
-
- carried = [
- name
- for name in additional.namelist()
- if any(name.startswith(f"lib/{tfm}/") for tfm in missing)
- ]
+ missing_libs = sorted(target_frameworks(additional) - target_frameworks(primary))
- # Symbol packages carry no nuspec dependencies worth merging, but they do carry lib/
- # trees, so they go through the same path with whatever groups they happen to have.
+ # Symbol packages carry no nuspec dependencies worth merging, but they do carry lib/ trees,
+ # so they go through the same path with whatever groups they happen to have.
additional_nuspec = next(
(n for n in additional.namelist() if n.endswith(".nuspec")), None
)
+ primary_nuspec = next((n for n in primary.namelist() if n.endswith(".nuspec")), None)
available = (
dependency_groups(additional.read(additional_nuspec).decode("utf-8-sig"))
if additional_nuspec
else {}
)
+ already = (
+ dependency_groups(primary.read(primary_nuspec).decode("utf-8-sig"))
+ if primary_nuspec
+ else {}
+ )
- groups = []
- for tfm in missing:
- group = available.get(tfm)
- if group is None:
+ # Dependency groups are merged on their own account, not as a side effect of carrying a
+ # lib/ tree. A dependency-only meta-package has no lib/ folders at all, so keying the merge
+ # off those alone left it advertising net8 and net9 and silently offering a net10 consumer
+ # no dependencies whatsoever.
+ missing_groups = sorted(set(available) - set(already))
+
+ if not missing_libs and not missing_groups:
+ shutil.copy2(primary_path, output_path)
+ return []
+
+ carried = [
+ name
+ for name in additional.namelist()
+ if any(name.startswith(f"lib/{tfm}/") for tfm in missing_libs)
+ ]
+
+ for tfm in missing_libs:
+ if tfm not in available:
raise SystemExit(
f"error: {additional_path.name} ships lib/{tfm}/ but its nuspec declares no "
f"dependency group for {tfm}; refusing to guess what a {tfm} consumer needs"
)
- groups.append(group)
+
+ groups = [available[tfm] for tfm in missing_groups]
+ missing = sorted(set(missing_libs) | set(missing_groups))
with zipfile.ZipFile(output_path, "w", zipfile.ZIP_DEFLATED) as merged:
for item in primary.infolist():
diff --git a/docs/release-notes/3.14.0.1.md b/docs/release-notes/3.14.0.1.md
new file mode 100644
index 0000000..fa6de94
--- /dev/null
+++ b/docs/release-notes/3.14.0.1.md
@@ -0,0 +1,157 @@
+## What's changed
+
+Moves to **dd-sdk-ios 3.14.0**, the current release, from 2.30.2. This is the 2.x → 3.x major
+upgrade, and it restructures the package set: `DatadogObjc` and `CrashReporter` are gone upstream,
+`DatadogFlags` and `DatadogProfiling` are new, and the `DD*` types that all lived in one namespace
+now live in the module each belongs to.
+
+**Every app has to change code**, not just a version number. The migration table below covers it.
+
+> **Package versions are `.`.** `3.14.0.1` is dd-sdk-ios
+> `3.14.0`, binding revision `1`.
+
+## ⚠️ Breaking changes
+
+**The `DatadogObjc` namespace is gone.** Upstream deleted the framework and moved its types into
+the product modules, so a single `using DatadogObjc;` becomes one import per feature:
+
+```diff
+-using DatadogObjc;
++using DatadogCore; // DDDatadog, DDConfiguration, DDSite, DDTrackingConsent
++using DatadogRUM; // DDRUM, DDRUMMonitor, DDRUMConfiguration, the RUM event models
++using DatadogLogs; // DDLogs, DDLogger, DDLoggerConfiguration, DDLogEvent
++using DatadogTrace; // DDTrace, DDTracer, the header writers
+```
+
+`DDCoreLoggerLevel` and `DDTracingHeaderType` live in `DatadogInternal`, which every module already
+depends on — add `using DatadogInternal;` if you touch either.
+
+| Type | 2.30.2 namespace | 3.14.0 namespace |
+| --- | --- | --- |
+| `DDDatadog`, `DDConfiguration`, `DDSite`, `DDTrackingConsent`, `DDURLSessionInstrumentation` | `DatadogObjc` | `DatadogCore` |
+| `DDRUM`, `DDRUMMonitor`, `DDRUMConfiguration`, `DDRUMView`, all RUM event models | `DatadogObjc` | `DatadogRUM` |
+| `DDLogs`, `DDLogger`, `DDLoggerConfiguration`, `DDLogEvent` | `DatadogObjc` | `DatadogLogs` |
+| `DDTrace`, `DDTracer`, `DDHTTPHeadersWriter`, `DDB3HTTPHeadersWriter` | `DatadogObjc` | `DatadogTrace` |
+| `DDCoreLoggerLevel`, `DDTracingHeaderType` | `DatadogObjc` | `DatadogInternal` |
+| `DDSessionReplay` and friends | `DatadogSessionReplay` | unchanged |
+
+**`DatadogNet.CrashReporter.iOS` is retired.** dd-sdk-ios 3.0 replaced PLCrashReporter with
+KSCrash, which is linked into `DatadogCrashReporting` rather than shipped separately — the binary
+defines 912 KSCrash symbols and no PLCrash ones. Drop the reference; `DatadogNet.CrashReporting.iOS`
+is self-contained now. Every `PLCrashReporter*` type is gone with it.
+
+Crash reports are now delivered through **RUM error tracking only**. The Logs product no longer
+reports fatal errors, so RUM and Crash Reporting must both be enabled to see crashes.
+
+**`DatadogNet.Objc.iOS` is now a compatibility meta-package.** It ships no assembly — just
+dependencies on Core, RUM, Logs, Trace and SessionReplay — so an existing `PackageReference` still
+restores a working set after a version bump. It does not spare you the namespace changes above.
+New apps should reference the product modules directly and ignore it.
+
+**Tracing header writers changed.** `DDOTelHTTPHeadersWriter` is replaced by
+`DDW3CHTTPHeadersWriter`, and all of them lost their sampling argument — trace sampling is now
+derived from the RUM `session.id` so a trace and its session agree.
+
+```diff
+-var writer = new DDHTTPHeadersWriter(DDTraceSamplingStrategy.CustomWithSampleRate(100), DDTraceContextInjection.All);
++var writer = new DDHTTPHeadersWriter(DDTraceContextInjection.All);
+```
+
+**URLSession instrumentation is unified.** `DatadogURLSessionDelegate`, `DDURLSessionDelegate` and
+`DDNSURLSessionDelegate` are all gone, replaced by `DDURLSessionInstrumentation`. This binding's
+convenience overloads carry over unchanged:
+
+```csharp
+DDURLSessionInstrumentation.Enable();
+```
+
+**`RUMView(path:)` became `RUMView(name:)`.** The `DDRUMView` initializer now takes a name and an
+optional `isUntrackedModal` flag.
+
+**Session Replay's `defaultPrivacyLevel` is gone for good.** It was deprecated in 2.19.0 and
+removed in 3.0; the three fine-grained levels are required initializer arguments. If you are coming
+straight from 2.17.0, see the 2.30.2.1 notes for that change.
+
+## Added
+
+**`DatadogNet.Flags.iOS` and `DatadogNet.Profiling.iOS`**, for the two new SDK modules. Both ship
+the native framework but **expose no Objective-C API at all** — upstream has not projected them
+into Objective-C yet, so there is nothing callable from C#. They are published so the package set
+mirrors the SDK and so adding the API later is a version bump rather than a new package id.
+
+**View-level RUM attributes** (the headline 3.0 RUM change) — attributes set on a view now
+propagate to the resources, actions, errors and long tasks recorded while it is active, instead of
+having to be repeated on every call:
+
+```csharp
+using (Datadog.Rum.StartView("checkout"))
+{
+ Datadog.Rum.AddViewAttributes(new Dictionary { ["cart.size"] = 3 });
+ Datadog.Rum.AddAction(DDRUMActionType.Tap, "pay"); // inherits cart.size
+ Datadog.Rum.RemoveViewAttributes("cart.size");
+}
+```
+
+`AddViewAttributeForKey`, `AddViewAttributes`, `RemoveViewAttributeForKey` and
+`RemoveViewAttributesForKeys` are all bound, with C#-dictionary and `params` overloads.
+
+**`DDRUMConfiguration.TrackMemoryWarnings`**, reporting memory warnings as RUM errors.
+
+**Multi-instance overloads throughout.** Nearly every entry point gained an `instanceName:`
+variant, so a host app and an embedded SDK can run separate Datadog instances.
+
+**`DDW3CHTTPHeadersWriter`** for W3C `tracecontext` propagation.
+
+## Fixed
+
+The generator that produces these bindings was rewritten for the 3.x layout, and several classes of
+defect were found and fixed along the way. Each would have compiled cleanly and failed at runtime or
+corrupted a call:
+
+- **`extraInfo` was bound as an `out` parameter.** The pointer-to-pointer heuristic counted the `*`
+ inside `NSDictionary *`, so `setUserInfo`, `addUserExtraInfo` and several others
+ took `out` dictionaries that callers could never populate.
+- **`[NullAllowed]` was missing everywhere.** Nullability is expressed in the Objective-C *type*,
+ not the property attribute list, so every nullable property was bound as non-null.
+- **`@protocol DDFoo;` forward declarations swallowed the next interface.** `DDDataEncryption` was
+ bound with `DDConfiguration`'s entire member list.
+- **`+ initializeWithConfiguration:trackingConsent:` was bound as a constructor** because its
+ selector starts with "init"; it is a static void method. Constructors are now identified by
+ returning `instancetype` on an instance method.
+- **Swift class properties were bound twice** — once as the property and once as its `+` getter —
+ producing duplicate C# members.
+- **Block parameters were mangled.** A naive paren match read `(void (^)(NSTimeInterval))` as the
+ type `void (^`; all ten block-taking methods, including every event mapper, are now `Action<>` /
+ `Func<>`.
+
+**The meta-package would have shipped without net10 dependencies.** `merge-packages.py` decided what
+to merge from `lib/` folders, and a dependency-only package has none — so `DatadogNet.Objc.iOS`
+advertised net8 and net9 only, and a net10 consumer would have restored it and got nothing at all.
+Dependency groups are now merged independently of lib assets.
+
+## Tests
+
+The on-simulator suite is **17 checks**, run against the packed packages on both `net9.0-ios18.0`
+and `net10.0-ios26.0`. It covers the new surface: view-attribute propagation, the unified URLSession
+instrumentation by type, KSCrash-backed crash reporting, fine-grained Session Replay privacy with
+per-view overrides, and both the RUM and Logs event mappers actually firing.
+
+The framework-loaded check now expects **eleven dynamic frameworks** and asserts KSCrash resolves as
+a class — 3.x removes the one static-archive special case the 2.x bindings had to carry.
+
+Package layout tests are **127 checks**, including a new one asserting the meta-package ships
+dependencies for every target framework and no assembly or payload.
+
+## Notes
+
+**Packages total about 67 MB**, up from 50 MB on 2.30.2 — the frameworks themselves grew. The
+largest is `DatadogNet.Internal.iOS` at 20.7 MB, comfortably under the 250 MB nuget.org limit.
+
+**Objective Sharpie still cannot be used.** Version 3.5.116 bundles a clang that fails on recent
+iOS SDK module maps. The bindings were generated by parsing the shipped `-Swift.h` headers directly;
+`build/GenerateBindings.sh` documents the problem and honours a `SHARPIE` override for when it is
+fixed.
+
+**The 2.x line ends at 2.30.2.1.** It remains on nuget.org and is unaffected by this release. If you
+cannot take the namespace changes yet, stay there — but note that 2.x receives no further upstream
+fixes.
diff --git a/samples/DatadogNet.iOS.Example/Datadog.cs b/samples/DatadogNet.iOS.Example/Datadog.cs
index 16770ae..bdb7828 100644
--- a/samples/DatadogNet.iOS.Example/Datadog.cs
+++ b/samples/DatadogNet.iOS.Example/Datadog.cs
@@ -1,6 +1,11 @@
+using DatadogCore;
using DatadogCrashReporting;
-using DatadogObjc;
+// DDCoreLoggerLevel is declared in DatadogInternal, which every module depends on.
+using DatadogInternal;
+using DatadogLogs;
+using DatadogRUM;
using DatadogSessionReplay;
+using DatadogTrace;
namespace DatadogNetExample;
@@ -11,6 +16,11 @@ namespace DatadogNetExample;
/// This is the shape most apps end up with: one method called once at startup that configures the
/// SDK and turns on the features the app uses. Everything after that goes through
/// and .
+///
+/// Note the using list. Up to dd-sdk-ios 2.x every DD* type lived in one DatadogObjc
+/// namespace; 3.0 moved them into the module each belongs to, so a per-feature import is now the
+/// norm.
+///
///
public static class Datadog
{
@@ -25,7 +35,7 @@ public static class Datadog
private static DDLogger? logger;
/// The RUM monitor, for reporting views, actions and errors.
- public static DDRUMMonitor Rum => DDRUMMonitor.Shared;
+ public static DDRUMMonitor Rum => DDRUMMonitor.Shared();
/// The app's logger.
public static DDLogger Logger =>
@@ -40,19 +50,19 @@ public static void Initialize()
var configuration = new DDConfiguration(clientToken: ClientToken, env: "sample")
{
Service = "datadognet-ios-example",
- // Pick the site your Datadog organisation is on - Us1, Us3, Us5, Eu1, Ap1 or Us1_fed.
- // Sending to the wrong one is the most common reason events never show up.
- Site = DDSite.Us1,
+ // Pick the site your Datadog organisation is on - Us1, Us3, Us5, Eu1, Ap1, Ap2 or
+ // Us1_fed. Sending to the wrong one is the most common reason events never show up.
+ Site = DDSite.Us1(),
};
// Consent must be set before, or as part of, initialization. Pending collects events but
// holds them on the device until consent is granted or refused, which is what a GDPR
// prompt-on-first-launch flow wants.
- DDDatadog.InitializeWithConfiguration(configuration, DDTrackingConsent.Granted);
+ DDDatadog.InitializeWithConfiguration(configuration, DDTrackingConsent.Granted());
// Logs SDK problems to the Xcode console. Worth leaving on while integrating - it is how
// you find out that, say, the client token is wrong.
- DDDatadog.VerbosityLevel = DDSDKVerbosityLevel.Warn;
+ DDDatadog.SetVerbosityLevel(DDCoreLoggerLevel.Warn);
EnableRum();
EnableLogs();
@@ -60,7 +70,8 @@ public static void Initialize()
EnableSessionReplay();
// Crash reporting is enabled after the SDK is initialized, never before: it attaches to
- // the RUM and Logs features to report the crash on the next launch.
+ // RUM to report the crash on the next launch. From 3.0 the engine is KSCrash, and crashes
+ // are reported through RUM error tracking rather than Logs.
DDCrashReporter.Enable();
}
@@ -73,6 +84,8 @@ private static void EnableRum()
// Detects rage taps, dead clicks and error taps.
TrackFrustrations = true,
TrackBackgroundEvents = true,
+ // New in 3.0: reports memory warnings as RUM errors.
+ TrackMemoryWarnings = true,
// Automatic UIKit instrumentation. MAUI renders through UIKit, so these report views
// and taps without any per-page code - the manual StartView calls in MainPage are
@@ -114,13 +127,10 @@ private static void EnableSessionReplay()
{
// Session Replay requires RUM, so it is enabled last.
//
- // From dd-sdk-ios 2.19.0 the single defaultPrivacyLevel is replaced by three independent
- // levels, and they are required by the initializer rather than defaulted - so the choice
- // is made deliberately rather than inherited. Replay records the screen, and these decide
- // what is redacted *on the device*, before anything is uploaded.
- //
- // These are the most private settings: mask every text and input, mask every image, and
- // hide touches. Loosen them deliberately, not by accident.
+ // The three privacy levels are required arguments, so the choice is never implicit. Replay
+ // records the screen, and these decide what is redacted *on the device*, before anything is
+ // uploaded. These are the most private settings: mask every text and input, mask every
+ // image, hide touches. Loosen them deliberately, not by accident.
DDSessionReplay.EnableWith(new DDSessionReplayConfiguration(
replaySampleRate: 100,
textAndInputPrivacyLevel: DDTextAndInputPrivacyLevel.MaskAll,
diff --git a/samples/DatadogNet.iOS.Example/DatadogNetExample.csproj b/samples/DatadogNet.iOS.Example/DatadogNetExample.csproj
index 93ec2dc..9dbb2ab 100644
--- a/samples/DatadogNet.iOS.Example/DatadogNetExample.csproj
+++ b/samples/DatadogNet.iOS.Example/DatadogNetExample.csproj
@@ -47,18 +47,23 @@
$(VersionPrefix)
-
+
+
+
+
+
diff --git a/samples/DatadogNet.iOS.Example/MainPage.xaml.cs b/samples/DatadogNet.iOS.Example/MainPage.xaml.cs
index b7feedc..82d8247 100644
--- a/samples/DatadogNet.iOS.Example/MainPage.xaml.cs
+++ b/samples/DatadogNet.iOS.Example/MainPage.xaml.cs
@@ -1,4 +1,5 @@
-using DatadogObjc;
+using DatadogLogs;
+using DatadogRUM;
namespace DatadogNetExample;
diff --git a/src/DatadogNet.Objc.iOS/Additions/Attributes.cs b/src/DatadogNet.Core.iOS/Additions/Attributes.cs
similarity index 94%
rename from src/DatadogNet.Objc.iOS/Additions/Attributes.cs
rename to src/DatadogNet.Core.iOS/Additions/Attributes.cs
index afdc654..4b7db7f 100644
--- a/src/DatadogNet.Objc.iOS/Additions/Attributes.cs
+++ b/src/DatadogNet.Core.iOS/Additions/Attributes.cs
@@ -7,18 +7,21 @@
using System.Collections.Generic;
using Foundation;
-namespace DatadogObjc
+namespace DatadogCore
{
///
/// Converts C# attribute dictionaries into the NSDictionary<NSString, NSObject>
/// the Datadog API takes.
///
///
- /// Almost every RUM and Logs call ends in an attributes parameter, and the bound signature
+ /// Lives in DatadogCore because RUM, Logs and Trace all need it and all depend on Core.
+///
+/// Almost every RUM and Logs call ends in an attributes parameter, and the bound signature
/// requires one even when there is nothing to attach - so the raw binding forces
/// new NSDictionary<NSString, NSObject>() at hundreds of call sites, and forces
/// callers to hand-wrap every value in an NSObject. These helpers are what the
- /// convenience overloads throughout this assembly are built on.
+ /// convenience overloads across these packages are built on.
+ ///
///
public static class DatadogAttributes
{
diff --git a/src/DatadogNet.Objc.iOS/Additions/DDDatadog.Ergonomics.cs b/src/DatadogNet.Core.iOS/Additions/DDDatadog.Ergonomics.cs
similarity index 53%
rename from src/DatadogNet.Objc.iOS/Additions/DDDatadog.Ergonomics.cs
rename to src/DatadogNet.Core.iOS/Additions/DDDatadog.Ergonomics.cs
index bf1ba01..28607f7 100644
--- a/src/DatadogNet.Objc.iOS/Additions/DDDatadog.Ergonomics.cs
+++ b/src/DatadogNet.Core.iOS/Additions/DDDatadog.Ergonomics.cs
@@ -1,36 +1,48 @@
-// Nullable annotations are enabled per file rather than for the project: the generated
-// binding sources are not written against a nullable context, and switching the whole
-// project over would bury real warnings here under hundreds of generated ones.
+// Nullable annotations are enabled per file rather than for the project: the generated binding
+// sources are not written against a nullable context, and switching the whole project over would
+// bury real warnings here under hundreds of generated ones.
#nullable enable
using System;
using System.Collections.Generic;
using Foundation;
-namespace DatadogObjc
+namespace DatadogCore
{
public partial class DDDatadog
{
/// Sets the current user, so events can be attributed to them.
- /// Your identifier for the user.
+ /// Your identifier for the user. Required from dd-sdk-ios 2.24.0.
/// The user's display name, if you have one.
/// The user's email address, if you have one.
/// Any further attributes to attach to the user.
///
- /// The bound takes all four arguments and no defaults, so
- /// setting only an id means passing two nulls and an empty dictionary. Every argument here
- /// but the id is optional.
+ /// The bound SetUserInfoWithUserId takes all four arguments and no defaults,
+ /// so setting only an id means passing two nulls and an empty dictionary.
///
public static void SetUserInfo (
- string id,
+ string userId,
string? name = null,
string? email = null,
IReadOnlyDictionary? extraInfo = null)
{
- if (id is null)
- throw new ArgumentNullException (nameof (id));
+ if (userId is null)
+ throw new ArgumentNullException (nameof (userId));
- SetUserInfoWithId (id, name, email, DatadogAttributes.From (extraInfo));
+ SetUserInfoWithUserId (userId, name, email, DatadogAttributes.From (extraInfo));
+ }
+
+ /// Sets the account the user belongs to.
+ /// Added upstream in 2.29.0. Account details propagate to Logs, RUM and Trace.
+ public static void SetAccountInfo (
+ string accountId,
+ string? name = null,
+ IReadOnlyDictionary? extraInfo = null)
+ {
+ if (accountId is null)
+ throw new ArgumentNullException (nameof (accountId));
+
+ SetAccountInfoWithAccountId (accountId, name, DatadogAttributes.From (extraInfo));
}
/// Adds attributes to the current user without replacing the ones already set.
@@ -42,19 +54,19 @@ public static void AddUserExtraInfo (IReadOnlyDictionary extraI
AddUserExtraInfo (DatadogAttributes.From (extraInfo));
}
- /// The current tracking consent, as a C# enum.
+ /// Sets tracking consent from a C# enum.
///
- /// is bound as a class with three static instances rather
- /// than an enum, because that is how it crosses from Swift into Objective-C. That makes it
- /// awkward to store, compare or switch on from C#, so mirrors
- /// it as a real enum and accepts it.
+ /// is bound as a class with three static factory methods
+ /// rather than an enum, because that is how it crosses from Swift into Objective-C. That
+ /// makes it awkward to store, compare or switch on, so
+ /// mirrors it as a real enum.
///
public static void SetTrackingConsent (TrackingConsent consent)
{
SetTrackingConsentWithConsent (consent switch {
- TrackingConsent.Granted => DDTrackingConsent.Granted,
- TrackingConsent.NotGranted => DDTrackingConsent.NotGranted,
- TrackingConsent.Pending => DDTrackingConsent.Pending,
+ TrackingConsent.Granted => DDTrackingConsent.Granted (),
+ TrackingConsent.NotGranted => DDTrackingConsent.NotGranted (),
+ TrackingConsent.Pending => DDTrackingConsent.Pending (),
_ => throw new ArgumentOutOfRangeException (nameof (consent), consent, "Unknown tracking consent."),
});
}
@@ -62,8 +74,8 @@ public static void SetTrackingConsent (TrackingConsent consent)
/// Whether the user has consented to data being collected and sent to Datadog.
///
- /// A C# mirror of , which is a class of static instances rather
- /// than an enum. See .
+ /// A C# mirror of , which is a class of static factory methods
+ /// rather than an enum. See .
///
public enum TrackingConsent
{
diff --git a/src/DatadogNet.Core.iOS/Additions/DDURLSessionInstrumentation.Ergonomics.cs b/src/DatadogNet.Core.iOS/Additions/DDURLSessionInstrumentation.Ergonomics.cs
new file mode 100644
index 0000000..0ea9ee7
--- /dev/null
+++ b/src/DatadogNet.Core.iOS/Additions/DDURLSessionInstrumentation.Ergonomics.cs
@@ -0,0 +1,85 @@
+// Nullable annotations are enabled per file rather than for the project: the generated binding
+// sources are not written against a nullable context, and switching the whole project over would
+// bury real warnings here under hundreds of generated ones.
+#nullable enable
+
+using System;
+using Foundation;
+using ObjCRuntime;
+
+namespace DatadogCore
+{
+ public partial class DDURLSessionInstrumentationConfiguration
+ {
+ /// Creates a configuration for instrumenting .
+ ///
+ /// Your NSUrlSession delegate. It must derive from , implement
+ /// , and carry a so
+ /// the Objective-C runtime knows about it.
+ ///
+ public static DDURLSessionInstrumentationConfiguration Create ()
+ where TDelegate : NSObject, INSUrlSessionDataDelegate
+ => new (ClassHandleOf (typeof (TDelegate)));
+
+ ///
+ public static DDURLSessionInstrumentationConfiguration Create (Type delegateType)
+ => new (ClassHandleOf (delegateType));
+
+ /// The delegate class being instrumented, as a managed .
+ public Type? DelegateType => Class.Lookup (new Class (DelegateClass));
+
+ ///
+ /// Resolves a managed type to its Objective-C class handle, failing loudly if it has none.
+ ///
+ ///
+ /// This is the whole reason these overloads exist. The native API takes an Objective-C
+ /// Class, which reaches C# as a bare - nothing in the generated
+ /// signature suggests you are meant to pass Class.GetHandle(typeof(T)), and passing
+ /// is accepted silently and then instruments nothing at all.
+ ///
+ internal static IntPtr ClassHandleOf (Type delegateType)
+ {
+ if (delegateType is null)
+ throw new ArgumentNullException (nameof (delegateType));
+
+ var handle = Class.GetHandle (delegateType);
+ if (handle == IntPtr.Zero) {
+ throw new ArgumentException (
+ $"'{delegateType.FullName}' is not registered with the Objective-C runtime. " +
+ "A URLSession delegate must derive from NSObject, implement " +
+ "INSUrlSessionDataDelegate, and carry a [Register] attribute.",
+ nameof (delegateType));
+ }
+
+ return handle;
+ }
+ }
+
+ public partial class DDURLSessionInstrumentation
+ {
+ /// Instruments for RUM resources and tracing.
+ ///
+ /// This is the API Datadog documents for automatic network tracking from 3.0 onwards; the
+ /// DatadogURLSessionDelegate and DDNSURLSessionDelegate types it replaced are
+ /// gone. Attach the delegate to your NSUrlSession as usual - instrumentation is
+ /// installed on the class, not on an instance.
+ ///
+ public static void Enable ()
+ where TDelegate : NSObject, INSUrlSessionDataDelegate
+ => EnableWithConfiguration (DDURLSessionInstrumentationConfiguration.Create ());
+
+ ///
+ public static void Enable (Type delegateType)
+ => EnableWithConfiguration (DDURLSessionInstrumentationConfiguration.Create (delegateType));
+
+ /// Stops instrumenting .
+ public static void Disable ()
+ where TDelegate : NSObject, INSUrlSessionDataDelegate
+ => DisableWithDelegateClass (
+ DDURLSessionInstrumentationConfiguration.ClassHandleOf (typeof (TDelegate)));
+
+ ///
+ public static void Disable (Type delegateType)
+ => DisableWithDelegateClass (DDURLSessionInstrumentationConfiguration.ClassHandleOf (delegateType));
+ }
+}
diff --git a/src/DatadogNet.Core.iOS/ApiDefinitions.cs b/src/DatadogNet.Core.iOS/ApiDefinitions.cs
index 5a21430..a8b5848 100644
--- a/src/DatadogNet.Core.iOS/ApiDefinitions.cs
+++ b/src/DatadogNet.Core.iOS/ApiDefinitions.cs
@@ -1,53 +1,363 @@
using System;
-using DatadogCore;
+using DatadogInternal;
using Foundation;
using ObjCRuntime;
+using UIKit;
namespace DatadogCore
{
- // @interface __dd_private_AppLaunchHandler : NSObject
+ // typedef void (^UIApplicationNotificationCallback)(NSDate * _Nullable didFinishLaunchingTimeInterval,
+ delegate void UIApplicationNotificationCallback ([NullAllowed] NSDate didFinishLaunchingTimeInterval, [NullAllowed] NSDate didBecomeActiveTimeInterval);
+
+ partial interface IDDDataEncryption {}
+
+ // @protocol DDDataEncryption
+ [Model, Protocol]
+ [BaseType (typeof(NSObject))]
+ interface DDDataEncryption
+ {
+ [Abstract]
+ [Export ("encryptWithData:error:")]
+ NSData EncryptWithData (NSData data, [NullAllowed] out NSError error);
+
+ [Abstract]
+ [Export ("decryptWithData:error:")]
+ NSData DecryptWithData (NSData data, [NullAllowed] out NSError error);
+ }
+
+ partial interface IDDServerDateProvider {}
+
+ // @protocol DDServerDateProvider
+ [Model, Protocol]
+ [BaseType (typeof(NSObject))]
+ interface DDServerDateProvider
+ {
+ [Abstract]
+ [Export ("synchronizeWithUpdate:")]
+ void SynchronizeWithUpdate (Action update);
+ }
+
+ // @interface DDConfiguration
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDConfiguration
+ {
+ [Export ("clientToken", ArgumentSemantic.Copy)]
+ string ClientToken { get; set; }
+
+ [Export ("env", ArgumentSemantic.Copy)]
+ string Env { get; set; }
+
+ [Export ("site", ArgumentSemantic.Strong)]
+ DDSite Site { get; set; }
+
+ [NullAllowed, Export ("service", ArgumentSemantic.Copy)]
+ string Service { get; set; }
+
+ [NullAllowed, Export ("version", ArgumentSemantic.Copy)]
+ string Version { get; set; }
+
+ [Export ("batchSize")]
+ DDBatchSize BatchSize { get; set; }
+
+ [Export ("uploadFrequency")]
+ DDUploadFrequency UploadFrequency { get; set; }
+
+ [Export ("batchProcessingLevel")]
+ DDBatchProcessingLevel BatchProcessingLevel { get; set; }
+
+ [NullAllowed, Export ("proxyConfiguration", ArgumentSemantic.Copy)]
+ NSDictionary ProxyConfiguration { get; set; }
+
+ [Export ("bundle", ArgumentSemantic.Strong)]
+ NSBundle Bundle { get; set; }
+
+ [Export ("additionalConfiguration", ArgumentSemantic.Copy)]
+ NSDictionary AdditionalConfiguration { get; set; }
+
+ [Export ("backgroundTasksEnabled")]
+ bool BackgroundTasksEnabled { get; set; }
+
+ [Export ("setEncryption:")]
+ void SetEncryption (IDDDataEncryption encryption);
+
+ [Export ("setServerDateProvider:")]
+ void SetServerDateProvider (IDDServerDateProvider serverDateProvider);
+
+ [Export ("initWithClientToken:env:")]
+ NativeHandle Constructor (string clientToken, string env);
+ }
+
+ // @interface DDCrossPlatformExtension
+ [BaseType (typeof(NSObject))]
+ interface DDCrossPlatformExtension
+ {
+ [Static]
+ [Export ("subscribeToSharedContext:")]
+ void SubscribeToSharedContext (Action toSharedContext);
+
+ [Static]
+ [Export ("unsubscribeFromSharedContext")]
+ void UnsubscribeFromSharedContext ();
+ }
+
+ // @interface DDDatadog
+ [BaseType (typeof(NSObject))]
+ interface DDDatadog
+ {
+ [Static]
+ [Export ("initializeWithConfiguration:trackingConsent:")]
+ void InitializeWithConfiguration (DDConfiguration configuration, DDTrackingConsent trackingConsent);
+
+ [Static]
+ [Export ("initializeWithConfiguration:trackingConsent:instanceName:")]
+ void InitializeWithConfiguration (DDConfiguration configuration, DDTrackingConsent trackingConsent, string instanceName);
+
+ [Static]
+ [Export ("setVerbosityLevel:")]
+ void SetVerbosityLevel (DDCoreLoggerLevel verbosityLevel);
+
+ [Static]
+ [Export ("verbosityLevel")]
+ DDCoreLoggerLevel VerbosityLevel ();
+
+ [Static]
+ [Export ("setUserInfoWithUserId:name:email:extraInfo:")]
+ void SetUserInfoWithUserId (string userId, [NullAllowed] string name, [NullAllowed] string email, NSDictionary extraInfo);
+
+ [Static]
+ [Export ("setUserInfoWithUserId:instanceName:name:email:extraInfo:")]
+ void SetUserInfoWithUserId (string userId, [NullAllowed] string instanceName, [NullAllowed] string name, [NullAllowed] string email, NSDictionary extraInfo);
+
+ [Static]
+ [Export ("clearUserInfo")]
+ void ClearUserInfo ();
+
+ [Static]
+ [Export ("clearUserInfoWithInstanceName:")]
+ void ClearUserInfoWithInstanceName ([NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("addUserExtraInfo:")]
+ void AddUserExtraInfo (NSDictionary extraInfo);
+
+ [Static]
+ [Export ("addUserExtraInfo:instanceName:")]
+ void AddUserExtraInfo (NSDictionary extraInfo, [NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("setAccountInfoWithAccountId:name:extraInfo:")]
+ void SetAccountInfoWithAccountId (string accountId, [NullAllowed] string name, NSDictionary extraInfo);
+
+ [Static]
+ [Export ("setAccountInfoWithAccountId:instanceName:name:extraInfo:")]
+ void SetAccountInfoWithAccountId (string accountId, [NullAllowed] string instanceName, [NullAllowed] string name, NSDictionary extraInfo);
+
+ [Static]
+ [Export ("addAccountExtraInfo:")]
+ void AddAccountExtraInfo (NSDictionary extraInfo);
+
+ [Static]
+ [Export ("addAccountExtraInfo:instanceName:")]
+ void AddAccountExtraInfo (NSDictionary extraInfo, [NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("clearAccountInfo")]
+ void ClearAccountInfo ();
+
+ [Static]
+ [Export ("clearAccountInfoWithInstanceName:")]
+ void ClearAccountInfoWithInstanceName ([NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("setTrackingConsentWithConsent:")]
+ void SetTrackingConsentWithConsent (DDTrackingConsent consent);
+
+ [Static]
+ [Export ("setTrackingConsentWithConsent:instanceName:")]
+ void SetTrackingConsentWithConsent (DDTrackingConsent consent, [NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("isInitialized")]
+ bool IsInitialized ();
+
+ [Static]
+ [Export ("isInitializedWithInstanceName:")]
+ bool IsInitializedWithInstanceName ([NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("stopInstance")]
+ void StopInstance ();
+
+ [Static]
+ [Export ("stopInstanceWithInstanceName:")]
+ void StopInstanceWithInstanceName ([NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("clearAllData")]
+ void ClearAllData ();
+
+ [Static]
+ [Export ("clearAllDataWithInstanceName:")]
+ void ClearAllDataWithInstanceName ([NullAllowed] string instanceName);
+ }
+
+ // @interface DDSharedContext
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDSharedContext
+ {
+ [NullAllowed, Export ("userId", ArgumentSemantic.Copy)]
+ string UserId { get; }
+
+ [NullAllowed, Export ("accountId", ArgumentSemantic.Copy)]
+ string AccountId { get; }
+ }
+
+ // @interface DDSite
[BaseType (typeof(NSObject))]
[DisableDefaultCtor]
+ interface DDSite
+ {
+ [Static]
+ [Export ("us1")]
+ DDSite Us1 ();
+
+ [Static]
+ [Export ("us3")]
+ DDSite Us3 ();
+
+ [Static]
+ [Export ("us5")]
+ DDSite Us5 ();
+
+ [Static]
+ [Export ("eu1")]
+ DDSite Eu1 ();
+
+ [Static]
+ [Export ("ap1")]
+ DDSite Ap1 ();
+
+ [Static]
+ [Export ("ap2")]
+ DDSite Ap2 ();
+
+ [Static]
+ [Export ("us1_fed")]
+ DDSite Us1_fed ();
+
+ [Static]
+ [Export ("us2_fed")]
+ DDSite Us2_fed ();
+ }
+
+ // @interface DDTrackingConsent
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDTrackingConsent
+ {
+ [Static]
+ [Export ("granted")]
+ DDTrackingConsent Granted ();
+
+ [Static]
+ [Export ("notGranted")]
+ DDTrackingConsent NotGranted ();
+
+ [Static]
+ [Export ("pending")]
+ DDTrackingConsent Pending ();
+ }
+
+ // @interface DDURLSessionInstrumentation
+ [BaseType (typeof(NSObject))]
+ interface DDURLSessionInstrumentation
+ {
+ [Static]
+ [Export ("enableDurationBreakdownWith:")]
+ void EnableDurationBreakdownWith (DDURLSessionInstrumentationConfiguration configuration);
+
+ [Static]
+ [Export ("enableDurationBreakdownWith:instanceName:")]
+ void EnableDurationBreakdownWith (DDURLSessionInstrumentationConfiguration configuration, [NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("enableWithConfiguration:")]
+ void EnableWithConfiguration (DDURLSessionInstrumentationConfiguration configuration);
+
+ [Static]
+ [Export ("enableWithConfiguration:instanceName:")]
+ void EnableWithConfiguration (DDURLSessionInstrumentationConfiguration configuration, [NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("disableWithDelegateClass:")]
+ void DisableWithDelegateClass (IntPtr delegateClass);
+
+ [Static]
+ [Export ("disableWithDelegateClass:instanceName:")]
+ void DisableWithDelegateClass (IntPtr delegateClass, [NullAllowed] string instanceName);
+ }
+
+ // @interface DDURLSessionInstrumentationConfiguration
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDURLSessionInstrumentationConfiguration
+ {
+ [Export ("delegateClass")]
+ IntPtr DelegateClass { get; set; }
+
+ [Export ("initWithDelegateClass:")]
+ NativeHandle Constructor (IntPtr delegateClass);
+
+ [Export ("setFirstPartyHostsTracing:")]
+ void SetFirstPartyHostsTracing (DDURLSessionInstrumentationFirstPartyHostsTracing firstPartyHostsTracing);
+ }
+
+ // @interface DDURLSessionInstrumentationFirstPartyHostsTracing
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDURLSessionInstrumentationFirstPartyHostsTracing
+ {
+ [Export ("initWithHostsWithHeaderTypes:")]
+ NativeHandle Constructor (NSDictionary> hostsWithHeaderTypes);
+
+ [Export ("initWithHosts:")]
+ NativeHandle Constructor (NSSet hosts);
+ }
+
+ // @interface __dd_private_AppLaunchHandler
+ [BaseType (typeof(NSObject))]
interface __dd_private_AppLaunchHandler
{
- // @property (readonly, class) __dd_private_AppLaunchHandler * _Nonnull shared;
[Static]
[Export ("shared")]
__dd_private_AppLaunchHandler Shared { get; }
- // @property (readonly, atomic) NSDate * _Nonnull launchDate;
- [Export ("launchDate")]
- NSDate LaunchDate { get; }
+ [Export ("taskPolicyRole")]
+ nint TaskPolicyRole { get; }
- // @property (readonly, atomic) NSNumber * _Nullable launchTime;
- [NullAllowed, Export ("launchTime")]
- NSNumber LaunchTime { get; }
+ [Export ("processLaunchDate")]
+ NSDate ProcessLaunchDate { get; }
- // @property (readonly, atomic) BOOL isActivePrewarm;
- [Export ("isActivePrewarm")]
- bool IsActivePrewarm { get; }
+ [Export ("runtimeLoadDate")]
+ NSDate RuntimeLoadDate { get; }
- // -(instancetype _Nonnull)initWithProcessInfo:(NSProcessInfo * _Nonnull)processInfo;
- [Export ("initWithProcessInfo:")]
- NativeHandle Constructor (NSProcessInfo processInfo);
+ [Export ("runtimePreMainDate")]
+ NSDate RuntimePreMainDate { get; }
- // -(void)observeNotificationCenter:(NSNotificationCenter * _Nonnull)notificationCenter;
[Export ("observeNotificationCenter:")]
void ObserveNotificationCenter (NSNotificationCenter notificationCenter);
- // -(void)setApplicationDidBecomeActiveCallback:(UIApplicationDidBecomeActiveCallback _Nonnull)callback;
- [Export ("setApplicationDidBecomeActiveCallback:")]
- void SetApplicationDidBecomeActiveCallback (UIApplicationDidBecomeActiveCallback callback);
+ [Export ("setApplicationNotificationCallback:")]
+ void SetApplicationNotificationCallback (UIApplicationNotificationCallback callback);
}
- // typedef void (^UIApplicationDidBecomeActiveCallback)(NSTimeInterval);
- delegate void UIApplicationDidBecomeActiveCallback (double arg0);
-
- // @interface __dd_private_ObjcExceptionHandler : NSObject
+ // @interface __dd_private_ObjcExceptionHandler
[BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
interface __dd_private_ObjcExceptionHandler
{
- // +(BOOL)catchException:(void (^ _Nonnull)(void))tryBlock error:(NSError * _Nullable * _Nullable)error __attribute__((swift_name("rethrow(_:)")));
[Static]
[Export ("catchException:error:")]
bool CatchException (Action tryBlock, [NullAllowed] out NSError error);
diff --git a/src/DatadogNet.Core.iOS/StructsAndEnums.cs b/src/DatadogNet.Core.iOS/StructsAndEnums.cs
new file mode 100644
index 0000000..d050674
--- /dev/null
+++ b/src/DatadogNet.Core.iOS/StructsAndEnums.cs
@@ -0,0 +1,28 @@
+using ObjCRuntime;
+
+namespace DatadogCore
+{
+ [Native]
+ public enum DDBatchProcessingLevel : long
+ {
+ Low = 0,
+ Medium = 1,
+ High = 2
+ }
+
+ [Native]
+ public enum DDBatchSize : long
+ {
+ Small = 0,
+ Medium = 1,
+ Large = 2
+ }
+
+ [Native]
+ public enum DDUploadFrequency : long
+ {
+ Frequent = 0,
+ Average = 1,
+ Rare = 2
+ }
+}
diff --git a/src/DatadogNet.CrashReporter.iOS/ApiDefinitions.cs b/src/DatadogNet.CrashReporter.iOS/ApiDefinitions.cs
deleted file mode 100644
index d8cd0df..0000000
--- a/src/DatadogNet.CrashReporter.iOS/ApiDefinitions.cs
+++ /dev/null
@@ -1,593 +0,0 @@
-using System;
-using CoreFoundation;
-using CrashReporter;
-using Foundation;
-using ObjCRuntime;
-
-namespace CrashReporter
-{
- // @interface PLCrashReporterConfig : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReporterConfig
- {
- // +(instancetype)defaultConfiguration;
- [Static]
- [Export ("defaultConfiguration")]
- PLCrashReporterConfig DefaultConfiguration ();
-
- // -(instancetype)initWithBasePath:(NSString *)basePath;
- [Export ("initWithBasePath:")]
- NativeHandle Constructor (string basePath);
-
- // -(instancetype)initWithSignalHandlerType:(PLCrashReporterSignalHandlerType)signalHandlerType symbolicationStrategy:(PLCrashReporterSymbolicationStrategy)symbolicationStrategy;
- [Export ("initWithSignalHandlerType:symbolicationStrategy:")]
- NativeHandle Constructor (PLCrashReporterSignalHandlerType signalHandlerType, PLCrashReporterSymbolicationStrategy symbolicationStrategy);
-
- // -(instancetype)initWithSignalHandlerType:(PLCrashReporterSignalHandlerType)signalHandlerType symbolicationStrategy:(PLCrashReporterSymbolicationStrategy)symbolicationStrategy basePath:(NSString *)basePath;
- [Export ("initWithSignalHandlerType:symbolicationStrategy:basePath:")]
- NativeHandle Constructor (PLCrashReporterSignalHandlerType signalHandlerType, PLCrashReporterSymbolicationStrategy symbolicationStrategy, string basePath);
-
- // -(instancetype)initWithSignalHandlerType:(PLCrashReporterSignalHandlerType)signalHandlerType symbolicationStrategy:(PLCrashReporterSymbolicationStrategy)symbolicationStrategy shouldRegisterUncaughtExceptionHandler:(BOOL)shouldRegisterUncaughtExceptionHandler;
- [Export ("initWithSignalHandlerType:symbolicationStrategy:shouldRegisterUncaughtExceptionHandler:")]
- NativeHandle Constructor (PLCrashReporterSignalHandlerType signalHandlerType, PLCrashReporterSymbolicationStrategy symbolicationStrategy, bool shouldRegisterUncaughtExceptionHandler);
-
- // -(instancetype)initWithSignalHandlerType:(PLCrashReporterSignalHandlerType)signalHandlerType symbolicationStrategy:(PLCrashReporterSymbolicationStrategy)symbolicationStrategy shouldRegisterUncaughtExceptionHandler:(BOOL)shouldRegisterUncaughtExceptionHandler basePath:(NSString *)basePath;
- [Export ("initWithSignalHandlerType:symbolicationStrategy:shouldRegisterUncaughtExceptionHandler:basePath:")]
- NativeHandle Constructor (PLCrashReporterSignalHandlerType signalHandlerType, PLCrashReporterSymbolicationStrategy symbolicationStrategy, bool shouldRegisterUncaughtExceptionHandler, string basePath);
-
- // -(instancetype)initWithSignalHandlerType:symbolicationStrategy:
- // shouldRegisterUncaughtExceptionHandler:basePath:maxReportBytes:
- // Added in PLCrashReporter 1.12, shipped from dd-sdk-ios 2.25.0.
- [Export ("initWithSignalHandlerType:symbolicationStrategy:shouldRegisterUncaughtExceptionHandler:basePath:maxReportBytes:")]
- NativeHandle Constructor (PLCrashReporterSignalHandlerType signalHandlerType, PLCrashReporterSymbolicationStrategy symbolicationStrategy, bool shouldRegisterUncaughtExceptionHandler, string basePath, nuint maxReportBytes);
-
- // @property (readonly, nonatomic) NSUInteger maxReportBytes;
- // The cap on a generated crash report. Reports above it are truncated rather than dropped.
- [Export ("maxReportBytes")]
- nuint MaxReportBytes { get; }
-
- // @property (readonly, nonatomic) NSString * basePath;
- [Export ("basePath")]
- string BasePath { get; }
-
- // @property (readonly, nonatomic) PLCrashReporterSignalHandlerType signalHandlerType;
- [Export ("signalHandlerType")]
- PLCrashReporterSignalHandlerType SignalHandlerType { get; }
-
- // @property (readonly, nonatomic) PLCrashReporterSymbolicationStrategy symbolicationStrategy;
- [Export ("symbolicationStrategy")]
- PLCrashReporterSymbolicationStrategy SymbolicationStrategy { get; }
-
- // @property (readonly, nonatomic) BOOL shouldRegisterUncaughtExceptionHandler;
- [Export ("shouldRegisterUncaughtExceptionHandler")]
- bool ShouldRegisterUncaughtExceptionHandler { get; }
- }
-
- // @interface PLCrashReporter : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReporter
- {
- // +(PLCrashReporter *)sharedReporter __attribute__((deprecated("")));
- [Static]
- [Export ("sharedReporter")]
- PLCrashReporter SharedReporter();
-
- // -(instancetype)initWithConfiguration:(PLCrashReporterConfig *)config;
- [Export ("initWithConfiguration:")]
- NativeHandle Constructor (PLCrashReporterConfig config);
-
- // -(BOOL)hasPendingCrashReport;
- [Export ("hasPendingCrashReport")]
- bool HasPendingCrashReport();
-
- // -(NSData *)loadPendingCrashReportData;
- [Export ("loadPendingCrashReportData")]
- NSData LoadPendingCrashReportData();
-
- // -(NSData *)loadPendingCrashReportDataAndReturnError:(NSError **)outError;
- [Export ("loadPendingCrashReportDataAndReturnError:")]
- NSData LoadPendingCrashReportDataAndReturnError (out NSError outError);
-
- // -(NSData *)generateLiveReportWithThread:(thread_t)thread;
- [Export ("generateLiveReportWithThread:")]
- NSData GenerateLiveReportWithThread (uint thread);
-
- // -(NSData *)generateLiveReportWithThread:(thread_t)thread error:(NSError **)outError;
- [Export ("generateLiveReportWithThread:error:")]
- NSData GenerateLiveReportWithThread (uint thread, out NSError outError);
-
- // -(NSData *)generateLiveReportWithThread:(thread_t)thread exception:(NSException *)exception error:(NSError **)outError;
- [Export ("generateLiveReportWithThread:exception:error:")]
- NSData GenerateLiveReportWithThread (uint thread, NSException exception, out NSError outError);
-
- // -(NSData *)generateLiveReport;
- [Export ("generateLiveReport")]
- NSData GenerateLiveReport ();
-
- // -(NSData *)generateLiveReportAndReturnError:(NSError **)outError;
- [Export ("generateLiveReportAndReturnError:")]
- NSData GenerateLiveReportAndReturnError (out NSError outError);
-
- // -(NSData *)generateLiveReportWithException:(NSException *)exception error:(NSError **)outError;
- [Export ("generateLiveReportWithException:error:")]
- NSData GenerateLiveReportWithException (NSException exception, out NSError outError);
-
- // -(BOOL)purgePendingCrashReport;
- [Export ("purgePendingCrashReport")]
- bool PurgePendingCrashReport ();
-
- // -(BOOL)purgePendingCrashReportAndReturnError:(NSError **)outError;
- [Export ("purgePendingCrashReportAndReturnError:")]
- bool PurgePendingCrashReportAndReturnError (out NSError outError);
-
- // -(BOOL)enableCrashReporter;
- [Export ("enableCrashReporter")]
- bool EnableCrashReporter ();
-
- // -(BOOL)enableCrashReporterAndReturnError:(NSError **)outError;
- [Export ("enableCrashReporterAndReturnError:")]
- bool EnableCrashReporterAndReturnError (out NSError outError);
-
- // -(void)setCrashCallbacks:(PLCrashReporterCallbacks *)callbacks;
- [Export ("setCrashCallbacks:")]
- unsafe void SetCrashCallbacks (PLCrashReporterCallbacks callbacks);
-
- // -(NSString *)crashReportPath;
- [Export ("crashReportPath")]
- string CrashReportPath ();
-
- // @property (nonatomic, strong) NSData * customData;
- [Export ("customData", ArgumentSemantic.Strong)]
- NSData CustomData { get; set; }
- }
-
- // @interface PLCrashReportApplicationInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportApplicationInfo
- {
- // -(id)initWithApplicationIdentifier:(NSString *)applicationIdentifier applicationVersion:(NSString *)applicationVersion applicationMarketingVersion:(NSString *)applicationMarketingVersion;
- [Export ("initWithApplicationIdentifier:applicationVersion:applicationMarketingVersion:")]
- NativeHandle Constructor (string applicationIdentifier, string applicationVersion, string applicationMarketingVersion);
-
- // @property (readonly, nonatomic, strong) NSString * applicationIdentifier;
- [Export ("applicationIdentifier", ArgumentSemantic.Strong)]
- string ApplicationIdentifier { get; }
-
- // @property (readonly, nonatomic, strong) NSString * applicationVersion;
- [Export ("applicationVersion", ArgumentSemantic.Strong)]
- string ApplicationVersion { get; }
-
- // @property (readonly, nonatomic, strong) NSString * applicationMarketingVersion;
- [Export ("applicationMarketingVersion", ArgumentSemantic.Strong)]
- string ApplicationMarketingVersion { get; }
- }
-
- // @interface PLCrashReportProcessorInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportProcessorInfo
- {
- // -(id)initWithTypeEncoding:(PLCrashReportProcessorTypeEncoding)typeEncoding type:(uint64_t)type subtype:(uint64_t)subtype;
- [Export ("initWithTypeEncoding:type:subtype:")]
- NativeHandle Constructor (PLCrashReportProcessorTypeEncoding typeEncoding, ulong type, ulong subtype);
-
- // @property (readonly, nonatomic) PLCrashReportProcessorTypeEncoding typeEncoding;
- [Export ("typeEncoding")]
- PLCrashReportProcessorTypeEncoding TypeEncoding { get; }
-
- // @property (readonly, nonatomic) uint64_t type;
- [Export ("type")]
- ulong Type { get; }
-
- // @property (readonly, nonatomic) uint64_t subtype;
- [Export ("subtype")]
- ulong Subtype { get; }
- }
-
- // @interface PLCrashReportBinaryImageInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportBinaryImageInfo
- {
- // -(id)initWithCodeType:(PLCrashReportProcessorInfo *)processorInfo baseAddress:(uint64_t)baseAddress size:(uint64_t)imageSize name:(NSString *)imageName uuid:(NSData *)uuid;
- [Export ("initWithCodeType:baseAddress:size:name:uuid:")]
- NativeHandle Constructor (PLCrashReportProcessorInfo processorInfo, ulong baseAddress, ulong imageSize, string imageName, NSData uuid);
-
- // @property (readonly, nonatomic, strong) PLCrashReportProcessorInfo * codeType;
- [Export ("codeType", ArgumentSemantic.Strong)]
- PLCrashReportProcessorInfo CodeType { get; }
-
- // @property (readonly, nonatomic) uint64_t imageBaseAddress;
- [Export ("imageBaseAddress")]
- ulong ImageBaseAddress { get; }
-
- // @property (readonly, nonatomic) uint64_t imageSize;
- [Export ("imageSize")]
- ulong ImageSize { get; }
-
- // @property (readonly, nonatomic, strong) NSString * imageName;
- [Export ("imageName", ArgumentSemantic.Strong)]
- string ImageName { get; }
-
- // @property (readonly, nonatomic) BOOL hasImageUUID;
- [Export ("hasImageUUID")]
- bool HasImageUUID { get; }
-
- // @property (readonly, nonatomic, strong) NSString * imageUUID;
- [Export ("imageUUID", ArgumentSemantic.Strong)]
- string ImageUUID { get; }
- }
-
- // @interface PLCrashReportSymbolInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportSymbolInfo
- {
- // -(id)initWithSymbolName:(NSString *)symbolName startAddress:(uint64_t)startAddress endAddress:(uint64_t)endAddress;
- [Export ("initWithSymbolName:startAddress:endAddress:")]
- NativeHandle Constructor (string symbolName, ulong startAddress, ulong endAddress);
-
- // @property (readonly, nonatomic, strong) NSString * symbolName;
- [Export ("symbolName", ArgumentSemantic.Strong)]
- string SymbolName { get; }
-
- // @property (readonly, nonatomic) uint64_t startAddress;
- [Export ("startAddress")]
- ulong StartAddress { get; }
-
- // @property (readonly, nonatomic) uint64_t endAddress;
- [Export ("endAddress")]
- ulong EndAddress { get; }
- }
-
- // @interface PLCrashReportStackFrameInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportStackFrameInfo
- {
- // -(id)initWithInstructionPointer:(uint64_t)instructionPointer symbolInfo:(PLCrashReportSymbolInfo *)symbolInfo;
- [Export ("initWithInstructionPointer:symbolInfo:")]
- NativeHandle Constructor (ulong instructionPointer, PLCrashReportSymbolInfo symbolInfo);
-
- // @property (readonly, nonatomic) uint64_t instructionPointer;
- [Export ("instructionPointer")]
- ulong InstructionPointer { get; }
-
- // @property (readonly, nonatomic) PLCrashReportSymbolInfo * symbolInfo;
- [Export ("symbolInfo")]
- PLCrashReportSymbolInfo SymbolInfo { get; }
- }
-
- // @interface PLCrashReportRegisterInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportRegisterInfo
- {
- // -(id)initWithRegisterName:(NSString *)registerName registerValue:(uint64_t)registerValue;
- [Export ("initWithRegisterName:registerValue:")]
- NativeHandle Constructor (string registerName, ulong registerValue);
-
- // @property (readonly, nonatomic, strong) NSString * registerName;
- [Export ("registerName", ArgumentSemantic.Strong)]
- string RegisterName { get; }
-
- // @property (readonly, nonatomic) uint64_t registerValue;
- [Export ("registerValue")]
- ulong RegisterValue { get; }
- }
-
- // @interface PLCrashReportThreadInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportThreadInfo
- {
- // -(id)initWithThreadNumber:(NSInteger)threadNumber stackFrames:(NSArray *)stackFrames crashed:(BOOL)crashed registers:(NSArray *)registers;
- [Export ("initWithThreadNumber:stackFrames:crashed:registers:")]
- NativeHandle Constructor (nint threadNumber, NSObject[] stackFrames, bool crashed, NSObject[] registers);
-
- // @property (readonly, nonatomic) NSInteger threadNumber;
- [Export ("threadNumber")]
- nint ThreadNumber { get; }
-
- // @property (readonly, nonatomic, strong) NSArray * stackFrames;
- [Export ("stackFrames", ArgumentSemantic.Strong)]
- NSObject[] StackFrames { get; }
-
- // @property (readonly, nonatomic) BOOL crashed;
- [Export ("crashed")]
- bool Crashed { get; }
-
- // @property (readonly, nonatomic, strong) NSArray * registers;
- [Export ("registers", ArgumentSemantic.Strong)]
- NSObject[] Registers { get; }
- }
-
- // @interface PLCrashReportExceptionInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportExceptionInfo
- {
- // -(id)initWithExceptionName:(NSString *)name reason:(NSString *)reason;
- [Export ("initWithExceptionName:reason:")]
- NativeHandle Constructor (string name, string reason);
-
- // -(id)initWithExceptionName:(NSString *)name reason:(NSString *)reason stackFrames:(NSArray *)stackFrames;
- [Export ("initWithExceptionName:reason:stackFrames:")]
- NativeHandle Constructor (string name, string reason, NSObject[] stackFrames);
-
- // @property (readonly, nonatomic, strong) NSString * exceptionName;
- [Export ("exceptionName", ArgumentSemantic.Strong)]
- string ExceptionName { get; }
-
- // @property (readonly, nonatomic, strong) NSString * exceptionReason;
- [Export ("exceptionReason", ArgumentSemantic.Strong)]
- string ExceptionReason { get; }
-
- // @property (readonly, nonatomic, strong) NSArray * stackFrames;
- [Export ("stackFrames", ArgumentSemantic.Strong)]
- NSObject[] StackFrames { get; }
- }
-
- // @interface PLCrashReportMachineInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportMachineInfo
- {
- // -(id)initWithModelName:(NSString *)modelName processorInfo:(PLCrashReportProcessorInfo *)processorInfo processorCount:(NSUInteger)processorCount logicalProcessorCount:(NSUInteger)logicalProcessorCount;
- [Export ("initWithModelName:processorInfo:processorCount:logicalProcessorCount:")]
- NativeHandle Constructor (string modelName, PLCrashReportProcessorInfo processorInfo, nuint processorCount, nuint logicalProcessorCount);
-
- // @property (readonly, nonatomic, strong) NSString * modelName;
- [Export ("modelName", ArgumentSemantic.Strong)]
- string ModelName { get; }
-
- // @property (readonly, nonatomic, strong) PLCrashReportProcessorInfo * processorInfo;
- [Export ("processorInfo", ArgumentSemantic.Strong)]
- PLCrashReportProcessorInfo ProcessorInfo { get; }
-
- // @property (readonly, nonatomic) NSUInteger processorCount;
- [Export ("processorCount")]
- nuint ProcessorCount { get; }
-
- // @property (readonly, nonatomic) NSUInteger logicalProcessorCount;
- [Export ("logicalProcessorCount")]
- nuint LogicalProcessorCount { get; }
- }
-
- // @interface PLCrashReportMachExceptionInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportMachExceptionInfo
- {
- // -(id)initWithType:(uint64_t)type codes:(NSArray *)codes;
- [Export ("initWithType:codes:")]
- NativeHandle Constructor (ulong type, NSObject[] codes);
-
- // @property (readonly, nonatomic) uint64_t type;
- [Export ("type")]
- ulong Type { get; }
-
- // @property (readonly, nonatomic, strong) NSArray * codes;
- [Export ("codes", ArgumentSemantic.Strong)]
- NSObject[] Codes { get; }
- }
-
- // @interface PLCrashReportProcessInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportProcessInfo
- {
- // -(id)initWithProcessName:(NSString *)processName processID:(NSUInteger)processID processPath:(NSString *)processPath processStartTime:(NSDate *)processStartTime parentProcessName:(NSString *)parentProcessName parentProcessID:(NSUInteger)parentProcessID native:(BOOL)native;
- [Export ("initWithProcessName:processID:processPath:processStartTime:parentProcessName:parentProcessID:native:")]
- NativeHandle Constructor (string processName, nuint processID, string processPath, NSDate processStartTime, string parentProcessName, nuint parentProcessID, bool native);
-
- // @property (readonly, nonatomic, strong) NSString * processName;
- [Export ("processName", ArgumentSemantic.Strong)]
- string ProcessName { get; }
-
- // @property (readonly, nonatomic) NSUInteger processID;
- [Export ("processID")]
- nuint ProcessID { get; }
-
- // @property (readonly, nonatomic, strong) NSString * processPath;
- [Export ("processPath", ArgumentSemantic.Strong)]
- string ProcessPath { get; }
-
- // @property (readonly, nonatomic, strong) NSDate * processStartTime;
- [Export ("processStartTime", ArgumentSemantic.Strong)]
- NSDate ProcessStartTime { get; }
-
- // @property (readonly, nonatomic, strong) NSString * parentProcessName;
- [Export ("parentProcessName", ArgumentSemantic.Strong)]
- string ParentProcessName { get; }
-
- // @property (readonly, nonatomic) NSUInteger parentProcessID;
- [Export ("parentProcessID")]
- nuint ParentProcessID { get; }
-
- // @property (readonly, nonatomic) BOOL native;
- [Export ("native")]
- bool Native { get; }
- }
-
- // @interface PLCrashReportSignalInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportSignalInfo
- {
- // -(id)initWithSignalName:(NSString *)name code:(NSString *)code address:(uint64_t)address;
- [Export ("initWithSignalName:code:address:")]
- NativeHandle Constructor (string name, string code, ulong address);
-
- // @property (readonly, nonatomic, strong) NSString * name;
- [Export ("name", ArgumentSemantic.Strong)]
- string Name { get; }
-
- // @property (readonly, nonatomic, strong) NSString * code;
- [Export ("code", ArgumentSemantic.Strong)]
- string Code { get; }
-
- // @property (readonly, nonatomic) uint64_t address;
- [Export ("address")]
- ulong Address { get; }
- }
-
- [Static]
- partial interface Constants
- {
- // extern PLCrashReportOperatingSystem PLCrashReportHostOperatingSystem;
- [Field ("PLCrashReportHostOperatingSystem", "__Internal")]
- PLCrashReportOperatingSystem PLCrashReportHostOperatingSystem { get; }
-
- // extern PLCrashReportArchitecture PLCrashReportHostArchitecture __attribute__((deprecated("")));
- [Field ("PLCrashReportHostArchitecture", "__Internal")]
- PLCrashReportArchitecture PLCrashReportHostArchitecture { get; }
- }
-
- // @interface PLCrashReportSystemInfo : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportSystemInfo
- {
- // -(id)initWithOperatingSystem:(PLCrashReportOperatingSystem)operatingSystem operatingSystemVersion:(NSString *)operatingSystemVersion architecture:(PLCrashReportArchitecture)architecture timestamp:(NSDate *)timestamp __attribute__((deprecated("")));
- [Export ("initWithOperatingSystem:operatingSystemVersion:architecture:timestamp:")]
- NativeHandle Constructor (PLCrashReportOperatingSystem operatingSystem, string operatingSystemVersion, PLCrashReportArchitecture architecture, NSDate timestamp);
-
- // -(id)initWithOperatingSystem:(PLCrashReportOperatingSystem)operatingSystem operatingSystemVersion:(NSString *)operatingSystemVersion operatingSystemBuild:(NSString *)operatingSystemBuild architecture:(PLCrashReportArchitecture)architecture timestamp:(NSDate *)timestamp __attribute__((deprecated("")));
- [Export ("initWithOperatingSystem:operatingSystemVersion:operatingSystemBuild:architecture:timestamp:")]
- NativeHandle Constructor (PLCrashReportOperatingSystem operatingSystem, string operatingSystemVersion, string operatingSystemBuild, PLCrashReportArchitecture architecture, NSDate timestamp);
-
- // -(id)initWithOperatingSystem:(PLCrashReportOperatingSystem)operatingSystem operatingSystemVersion:(NSString *)operatingSystemVersion operatingSystemBuild:(NSString *)operatingSystemBuild architecture:(PLCrashReportArchitecture)architecture processorInfo:(PLCrashReportProcessorInfo *)processorInfo timestamp:(NSDate *)timestamp;
- [Export ("initWithOperatingSystem:operatingSystemVersion:operatingSystemBuild:architecture:processorInfo:timestamp:")]
- NativeHandle Constructor (PLCrashReportOperatingSystem operatingSystem, string operatingSystemVersion, string operatingSystemBuild, PLCrashReportArchitecture architecture, PLCrashReportProcessorInfo processorInfo, NSDate timestamp);
-
- // @property (readonly, nonatomic) PLCrashReportOperatingSystem operatingSystem;
- [Export ("operatingSystem")]
- PLCrashReportOperatingSystem OperatingSystem { get; }
-
- // @property (readonly, nonatomic, strong) NSString * operatingSystemVersion;
- [Export ("operatingSystemVersion", ArgumentSemantic.Strong)]
- string OperatingSystemVersion { get; }
-
- // @property (readonly, nonatomic, strong) NSString * operatingSystemBuild;
- [Export ("operatingSystemBuild", ArgumentSemantic.Strong)]
- string OperatingSystemBuild { get; }
-
- // @property (readonly, nonatomic) PLCrashReportArchitecture architecture __attribute__((deprecated("")));
- [Export ("architecture")]
- PLCrashReportArchitecture Architecture { get; }
-
- // @property (readonly, nonatomic, strong) NSDate * timestamp;
- [Export ("timestamp", ArgumentSemantic.Strong)]
- NSDate Timestamp { get; }
-
- // @property (readonly, nonatomic, strong) PLCrashReportProcessorInfo * processorInfo;
- [Export ("processorInfo", ArgumentSemantic.Strong)]
- PLCrashReportProcessorInfo ProcessorInfo { get; }
- }
-
- // @interface PLCrashReport : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReport
- {
- // -(id)initWithData:(NSData *)encodedData error:(NSError **)outError;
- [Export ("initWithData:error:")]
- NativeHandle Constructor (NSData encodedData, out NSError outError);
-
- // -(PLCrashReportBinaryImageInfo *)imageForAddress:(uint64_t)address;
- [Export ("imageForAddress:")]
- PLCrashReportBinaryImageInfo ImageForAddress (ulong address);
-
- // @property (readonly, nonatomic, strong) PLCrashReportSystemInfo * systemInfo;
- [Export ("systemInfo", ArgumentSemantic.Strong)]
- PLCrashReportSystemInfo SystemInfo { get; }
-
- // @property (readonly, nonatomic) BOOL hasMachineInfo;
- [Export ("hasMachineInfo")]
- bool HasMachineInfo { get; }
-
- // @property (readonly, nonatomic, strong) PLCrashReportMachineInfo * machineInfo;
- [Export ("machineInfo", ArgumentSemantic.Strong)]
- PLCrashReportMachineInfo MachineInfo { get; }
-
- // @property (readonly, nonatomic, strong) PLCrashReportApplicationInfo * applicationInfo;
- [Export ("applicationInfo", ArgumentSemantic.Strong)]
- PLCrashReportApplicationInfo ApplicationInfo { get; }
-
- // @property (readonly, nonatomic) BOOL hasProcessInfo;
- [Export ("hasProcessInfo")]
- bool HasProcessInfo { get; }
-
- // @property (readonly, nonatomic, strong) PLCrashReportProcessInfo * processInfo;
- [Export ("processInfo", ArgumentSemantic.Strong)]
- PLCrashReportProcessInfo ProcessInfo { get; }
-
- // @property (readonly, nonatomic, strong) PLCrashReportSignalInfo * signalInfo;
- [Export ("signalInfo", ArgumentSemantic.Strong)]
- PLCrashReportSignalInfo SignalInfo { get; }
-
- // @property (readonly, nonatomic, strong) PLCrashReportMachExceptionInfo * machExceptionInfo;
- [Export ("machExceptionInfo", ArgumentSemantic.Strong)]
- PLCrashReportMachExceptionInfo MachExceptionInfo { get; }
-
- // @property (readonly, nonatomic, strong) NSArray * threads;
- [Export ("threads", ArgumentSemantic.Strong)]
- NSObject[] Threads { get; }
-
- // @property (readonly, nonatomic, strong) NSArray * images;
- [Export ("images", ArgumentSemantic.Strong)]
- NSObject[] Images { get; }
-
- // @property (readonly, nonatomic) BOOL hasExceptionInfo;
- [Export ("hasExceptionInfo")]
- bool HasExceptionInfo { get; }
-
- // @property (readonly, nonatomic, strong) PLCrashReportExceptionInfo * exceptionInfo;
- [Export ("exceptionInfo", ArgumentSemantic.Strong)]
- PLCrashReportExceptionInfo ExceptionInfo { get; }
-
- // @property (readonly, nonatomic, strong) NSData * customData;
- [Export ("customData", ArgumentSemantic.Strong)]
- NSData CustomData { get; }
-
- // @property (readonly, nonatomic) CFUUIDRef uuidRef;
- [Export ("uuidRef")]
- unsafe NSUuid UuidRef { get; }
- }
-
- // @protocol PLCrashReportFormatter
- /*
- Check whether adding [Model] to this declaration is appropriate.
- [Model] is used to generate a C# class that implements this protocol,
- and might be useful for protocols that consumers are supposed to implement,
- since consumers can subclass the generated class instead of implementing
- the generated interface. If consumers are not supposed to implement this
- protocol, then [Model] is redundant and will generate code that will never
- be used.
-*/
- partial interface IPLCrashReportFormatter {}
-
- [Model, Protocol]
- [BaseType(typeof(NSObject))]
- interface PLCrashReportFormatter
- {
- // @required -(NSData *)formatReport:(PLCrashReport *)report error:(NSError **)outError;
- [Abstract]
- [Export ("formatReport:error:")]
- NSData Error (PLCrashReport report, out NSError outError);
- }
-
- // @interface PLCrashReportTextFormatter : NSObject
- [BaseType (typeof(NSObject))]
- interface PLCrashReportTextFormatter : PLCrashReportFormatter
- {
- // +(NSString *)stringValueForCrashReport:(PLCrashReport *)report withTextFormat:(PLCrashReportTextFormat)textFormat;
- [Static]
- [Export ("stringValueForCrashReport:withTextFormat:")]
- string StringValueForCrashReport (PLCrashReport report, PLCrashReportTextFormat textFormat);
-
- // -(id)initWithTextFormat:(PLCrashReportTextFormat)textFormat stringEncoding:(NSStringEncoding)stringEncoding;
- [Export ("initWithTextFormat:stringEncoding:")]
- NativeHandle Constructor (PLCrashReportTextFormat textFormat, nuint stringEncoding);
- }
-
- // [Static]
- partial interface Constants
- {
- // extern NSString * PLCrashReporterException;
- [Field ("PLCrashReporterException", "__Internal")]
- NSString PLCrashReporterException { get; }
-
- // extern NSString * PLCrashReporterErrorDomain;
- [Field ("PLCrashReporterErrorDomain", "__Internal")]
- NSString PLCrashReporterErrorDomain { get; }
- }
-}
diff --git a/src/DatadogNet.CrashReporter.iOS/DatadogNet.CrashReporter.iOS.csproj b/src/DatadogNet.CrashReporter.iOS/DatadogNet.CrashReporter.iOS.csproj
deleted file mode 100644
index 166a903..0000000
--- a/src/DatadogNet.CrashReporter.iOS/DatadogNet.CrashReporter.iOS.csproj
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- CrashReporter
- CrashReporter
- .NET for iOS / .NET MAUI bindings for PLCrashReporter, the crash-capture engine Datadog crash reporting is built on, as shipped inside the Datadog iOS SDK $(DatadogNativeVersion) release. Reference DatadogNet.CrashReporting.iOS to enable Datadog crash reporting; this package is its engine and is pulled in automatically.
- plcrashreporter;crash-reporting
-
-
-
-
-
-
-
diff --git a/src/DatadogNet.CrashReporter.iOS/StructsAndEnums.cs b/src/DatadogNet.CrashReporter.iOS/StructsAndEnums.cs
deleted file mode 100644
index 87f47a3..0000000
--- a/src/DatadogNet.CrashReporter.iOS/StructsAndEnums.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-using System;
-using System.Runtime.InteropServices;
-using ObjCRuntime;
-
-namespace CrashReporter
-{
- [Native]
- public enum PLCrashReporterSignalHandlerType : ulong
- {
- Bsd = 0,
- Mach = 1
- }
-
- [Flags]
- [Native]
- public enum PLCrashReporterSymbolicationStrategy : ulong
- {
- None = 0x0,
- SymbolTable = 1uL << 0,
- ObjC = 1uL << 1,
- All = (SymbolTable | ObjC)
- }
-
- [StructLayout (LayoutKind.Sequential)]
- public struct PLCrashReporterCallbacks
- {
- public ushort version;
-
- public unsafe IntPtr context;
-
- public unsafe IntPtr handleSignal;
- }
-
- public enum PLCrashReportProcessorTypeEncoding : uint
- {
- Unknown = 0,
- Mach = 1
- }
-
- public enum PLCrashReportOperatingSystem : uint
- {
- MacOSX = 0,
- iPhoneOS = 1,
- iPhoneSimulator = 2,
- Unknown = 3,
- AppleTVOS = 4
- }
-
- public enum PLCrashReportArchitecture : uint
- {
- X8632 = 0,
- X8664 = 1,
- ARMv6 = 2,
- Arm = ARMv6,
- Ppc = 3,
- Ppc64 = 4,
- ARMv7 = 5,
- Unknown = 6
- }
-
- [StructLayout (LayoutKind.Sequential)]
- public struct PLCrashReportFileHeader
- {
- public sbyte[] magic;
-
- public byte version;
-
- public byte[] data;
- }
-
- public enum PLCrashReportTextFormat : uint
- {
- PLCrashReportTextFormatiOS = 0
- }
-
- public enum PLCrashReporterError : uint
- {
- Unknown = 0,
- OperatingSystem = 1,
- CrashReportInvalid = 2,
- ResourceBusy = 3
- }
-}
diff --git a/src/DatadogNet.CrashReporting.iOS/ApiDefinitions.cs b/src/DatadogNet.CrashReporting.iOS/ApiDefinitions.cs
index f298990..6c9e3d4 100644
--- a/src/DatadogNet.CrashReporting.iOS/ApiDefinitions.cs
+++ b/src/DatadogNet.CrashReporting.iOS/ApiDefinitions.cs
@@ -1,24 +1,14 @@
+using System;
+using DatadogInternal;
using Foundation;
+using ObjCRuntime;
namespace DatadogCrashReporting
{
- [Static]
- partial interface Constants
- {
- // extern double DatadogCrashReportingVersionNumber;
- [Field ("DatadogCrashReportingVersionNumber", "__Internal")]
- double DatadogCrashReportingVersionNumber { get; }
-
- // extern const unsigned char[] DatadogCrashReportingVersionString;
- [Field ("DatadogCrashReportingVersionString", "__Internal")]
- NSString DatadogCrashReportingVersionString { get; }
- }
-
- // @interface DDCrashReporter : NSObject
+ // @interface DDCrashReporter
[BaseType (typeof(NSObject))]
interface DDCrashReporter
{
- // +(void)enable;
[Static]
[Export ("enable")]
void Enable ();
diff --git a/src/DatadogNet.CrashReporting.iOS/DatadogNet.CrashReporting.iOS.csproj b/src/DatadogNet.CrashReporting.iOS/DatadogNet.CrashReporting.iOS.csproj
index 9398f00..8918b0b 100644
--- a/src/DatadogNet.CrashReporting.iOS/DatadogNet.CrashReporting.iOS.csproj
+++ b/src/DatadogNet.CrashReporting.iOS/DatadogNet.CrashReporting.iOS.csproj
@@ -3,7 +3,7 @@
DatadogCrashReporting
CrashReporting
- .NET for iOS / .NET MAUI bindings for the native Datadog iOS SDK's DatadogCrashReporting framework: captures native crashes and reports them as RUM errors and logs on the next launch. Built against dd-sdk-ios $(DatadogNativeVersion). Enable it after initializing the SDK; upload your app's dSYMs to Datadog for symbolication.
+ .NET for iOS / .NET MAUI bindings for the native Datadog iOS SDK's DatadogCrashReporting framework: captures native crashes and reports them as RUM errors on the next launch. From dd-sdk-ios 3.0 the crash engine is KSCrash, linked into this framework, so there is no separate CrashReporter package any more. Built against dd-sdk-ios $(DatadogNativeVersion). Enable it after initializing the SDK; upload your app's dSYMs to Datadog for symbolication.
datadog-crash-reporting;crash-reporting
@@ -19,7 +19,6 @@
-
diff --git a/src/DatadogNet.Flags.iOS/ApiDefinitions.cs b/src/DatadogNet.Flags.iOS/ApiDefinitions.cs
new file mode 100644
index 0000000..c47aeb0
--- /dev/null
+++ b/src/DatadogNet.Flags.iOS/ApiDefinitions.cs
@@ -0,0 +1,13 @@
+// DatadogFlags exposes no Objective-C API in dd-sdk-ios 3.14.0.
+//
+// Every type in it is Swift-only, so there is nothing for Objective Sharpie to project and nothing
+// a C# caller can invoke. The package exists to ship the native framework - so that the module is
+// present if another Datadog framework starts linking it, and so that adding the API later is a
+// version bump rather than a new package id.
+//
+// This file is deliberately empty apart from the namespace: a binding project does not build
+// without an ObjcBindingApiDefinition.
+
+namespace DatadogFlags
+{
+}
diff --git a/src/DatadogNet.Flags.iOS/DatadogNet.Flags.iOS.csproj b/src/DatadogNet.Flags.iOS/DatadogNet.Flags.iOS.csproj
new file mode 100644
index 0000000..00ebdca
--- /dev/null
+++ b/src/DatadogNet.Flags.iOS/DatadogNet.Flags.iOS.csproj
@@ -0,0 +1,17 @@
+
+
+
+ DatadogFlags
+ Flags
+ .NET for iOS / .NET MAUI bindings for the native Datadog iOS SDK's DatadogFlags framework: feature-flag evaluation and exposure reporting. Built against dd-sdk-ios $(DatadogNativeVersion). NOTE: upstream exposes no Objective-C API for this module yet, so it ships the native framework but no callable C# surface - see the package README.
+ datadog-flags;feature-flags
+
+
+
+
+
+
+
+
+
+
diff --git a/src/DatadogNet.Internal.iOS/ApiDefinitions.cs b/src/DatadogNet.Internal.iOS/ApiDefinitions.cs
index ac76c28..520e3bc 100644
--- a/src/DatadogNet.Internal.iOS/ApiDefinitions.cs
+++ b/src/DatadogNet.Internal.iOS/ApiDefinitions.cs
@@ -1,69 +1,45 @@
-using DatadogInternal;
+using System;
using Foundation;
using ObjCRuntime;
namespace DatadogInternal
{
- // @interface DatadogURLSessionDelegate : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC15DatadogInternal25DatadogURLSessionDelegate")]
- interface DatadogURLSessionDelegate : INSUrlSessionDataDelegate
+ // @interface DDInternalLogger
+ [BaseType (typeof(NSObject))]
+ interface DDInternalLogger
{
- // -(instancetype _Nonnull)initWithAdditionalFirstPartyHosts:(NSSet * _Nonnull)additionalFirstPartyHosts;
- [Export ("initWithAdditionalFirstPartyHosts:")]
- NativeHandle Constructor (NSSet additionalFirstPartyHosts);
+ [Static]
+ [Export ("consolePrint:")]
+ void ConsolePrint (string message);
- // Objective Sharpie also emitted three URLSession overloads here, for the selectors
- //
- // URLSession:task:didFinishCollectingMetrics:
- // URLSession:dataTask:didReceiveData:
- // URLSession:task:didCompleteWithError:
- //
- // They are deliberately not bound. INSUrlSessionDataDelegate, which this interface derives
- // from, already declares all three - as DidFinishCollectingMetrics, DidReceiveData and
- // DidCompleteWithError - so binding them again registers each selector twice. That is not a
- // compile error: it fails at startup, when the runtime registers the assembly, and takes
- // down *every* app that loads the package before a line of its own code runs:
- //
- // Could not register the selector 'URLSession:task:didFinishCollectingMetrics:' of the
- // member 'DatadogInternal.DatadogURLSessionDelegate.URLSession' because the selector is
- // already registered on the member 'DidFinishCollectingMetrics'.
- //
- // The methods are still callable through the inherited names, and the native class still
- // implements the selectors - dropping the duplicates removes nothing but the collision.
+ [Static]
+ [Export ("telemetryDebugWithId:message:")]
+ void TelemetryDebugWithId (string id, string message);
+
+ [Static]
+ [Export ("telemetryErrorWithId:message:kind:stack:")]
+ void TelemetryErrorWithId (string id, string message, [NullAllowed] string kind, [NullAllowed] string stack);
}
- // @protocol __URLSessionDelegateProviding
- /*
- Check whether adding [Model] to this declaration is appropriate.
- [Model] is used to generate a C# class that implements this protocol,
- and might be useful for protocols that consumers are supposed to implement,
- since consumers can subclass the generated class instead of implementing
- the generated interface. If consumers are not supposed to implement this
- protocol, then [Model] is redundant and will generate code that will never
- be used.
-*/[Protocol (Name = "_TtP15DatadogInternal29__URLSessionDelegateProviding_")]
- [BaseType(typeof(NSObject))]
- interface __URLSessionDelegateProviding : INSUrlSessionDelegate
+ // @interface DDTracingHeaderType
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDTracingHeaderType
{
- [Wrap ("WeakDdURLSessionDelegate"), Abstract]
- DatadogURLSessionDelegate DdURLSessionDelegate { get; }
+ [Static]
+ [Export ("datadog", ArgumentSemantic.Strong)]
+ DDTracingHeaderType Datadog { get; }
- // @required @property (readonly, nonatomic, strong) DatadogURLSessionDelegate * _Nonnull ddURLSessionDelegate;
- [Abstract]
- [NullAllowed, Export ("ddURLSessionDelegate", ArgumentSemantic.Strong)]
- NSObject WeakDdURLSessionDelegate { get; }
- }
+ [Static]
+ [Export ("b3multi", ArgumentSemantic.Strong)]
+ DDTracingHeaderType B3multi { get; }
- // @interface DatadogInternal_Swift_716 (DatadogURLSessionDelegate) <__URLSessionDelegateProviding>
- [Protocol, Model]
- [BaseType (typeof(DatadogURLSessionDelegate))]
- interface DatadogURLSessionDelegate_DatadogInternal_Swift_716 : __URLSessionDelegateProviding
- {
- [Wrap ("WeakDdURLSessionDelegate")]
- DatadogURLSessionDelegate DdURLSessionDelegate { get; }
+ [Static]
+ [Export ("b3", ArgumentSemantic.Strong)]
+ DDTracingHeaderType B3 { get; }
- // @property (readonly, nonatomic, strong) DatadogURLSessionDelegate * _Nonnull ddURLSessionDelegate;
- [NullAllowed, Export ("ddURLSessionDelegate", ArgumentSemantic.Strong)]
- NSObject WeakDdURLSessionDelegate { get; }
+ [Static]
+ [Export ("tracecontext", ArgumentSemantic.Strong)]
+ DDTracingHeaderType Tracecontext { get; }
}
}
diff --git a/src/DatadogNet.Internal.iOS/StructsAndEnums.cs b/src/DatadogNet.Internal.iOS/StructsAndEnums.cs
new file mode 100644
index 0000000..13b7128
--- /dev/null
+++ b/src/DatadogNet.Internal.iOS/StructsAndEnums.cs
@@ -0,0 +1,14 @@
+using ObjCRuntime;
+
+namespace DatadogInternal
+{
+ [Native]
+ public enum DDCoreLoggerLevel : long
+ {
+ None = 0,
+ Debug = 1,
+ Warn = 2,
+ Error = 3,
+ Critical = 4
+ }
+}
diff --git a/src/DatadogNet.Objc.iOS/Additions/DDLogger.Ergonomics.cs b/src/DatadogNet.Logs.iOS/Additions/DDLogger.Ergonomics.cs
similarity index 79%
rename from src/DatadogNet.Objc.iOS/Additions/DDLogger.Ergonomics.cs
rename to src/DatadogNet.Logs.iOS/Additions/DDLogger.Ergonomics.cs
index b81dcbd..fd3dee5 100644
--- a/src/DatadogNet.Objc.iOS/Additions/DDLogger.Ergonomics.cs
+++ b/src/DatadogNet.Logs.iOS/Additions/DDLogger.Ergonomics.cs
@@ -1,13 +1,14 @@
-// Nullable annotations are enabled per file rather than for the project: the generated
-// binding sources are not written against a nullable context, and switching the whole
-// project over would bury real warnings here under hundreds of generated ones.
+// Nullable annotations are enabled per file rather than for the project: the generated binding
+// sources are not written against a nullable context, and switching the whole project over would
+// bury real warnings here under hundreds of generated ones.
#nullable enable
using System;
using System.Collections.Generic;
+using DatadogCore;
using Foundation;
-namespace DatadogObjc
+namespace DatadogLogs
{
public partial class DDLoggerConfiguration
{
@@ -23,8 +24,7 @@ public partial class DDLoggerConfiguration
///
/// The generated type only has the designated initializer, which takes all eight settings
/// positionally with no defaults - so configuring just a name means spelling out seven more
- /// arguments and knowing what Datadog's defaults are. The defaults here are the ones the
- /// native Logger.Configuration declares.
+ /// arguments and knowing what Datadog's defaults are.
///
public static DDLoggerConfiguration Create (
string? name = null,
@@ -54,10 +54,6 @@ public partial class DDLogs
///
/// Where logs are sent. Leave null for the intake of the site the SDK was configured with.
///
- ///
- /// Saves constructing a only to pass null to it, which is
- /// what enabling Logs with default settings otherwise requires.
- ///
public static void Enable (NSUrl? customEndpoint = null) =>
EnableWith (new DDLogsConfiguration (customEndpoint));
}
@@ -65,7 +61,6 @@ public static void Enable (NSUrl? customEndpoint = null) =>
public partial class DDLogger
{
/// Creates a logger, with Datadog's own defaults for anything unset.
- /// Shorthand for DDLogger.CreateWith (DDLoggerConfiguration.Create (...)).
public static DDLogger Create (
string? name = null,
string? service = null,
@@ -89,11 +84,10 @@ public static DDLogger Create (
/// Logs at the given level, with attributes and an optional exception.
///
- /// The bound API is six methods per level - one per overload of message, error and
- /// attributes - and the error parameter is an , which a managed
- /// exception is not. This takes the level as an argument, so a level chosen at runtime does
- /// not need a switch over six method names, and accepts an by
- /// folding its type, message and stack trace into the log's attributes.
+ /// The bound API is six methods per level and an parameter that a
+ /// managed exception is not. This takes the level as an argument, so a level chosen at
+ /// runtime does not need a switch over six method names, and folds an
+ /// into the log's attributes.
///
public void Log (
DDLogLevel level,
@@ -129,8 +123,7 @@ public void Log (
// The (message, attributes) overload, not (message, error, attributes): the native
// error parameter is _Nonnull, so the generated binding throws ArgumentNullException
- // rather than passing nil, and there is nothing to pass anyway - the exception has
- // already been folded into the attributes above.
+ // rather than passing nil, and the exception has already been folded in above.
switch (level) {
case DDLogLevel.Debug:
Debug (message, native);
diff --git a/src/DatadogNet.Logs.iOS/ApiDefinitions.cs b/src/DatadogNet.Logs.iOS/ApiDefinitions.cs
index e69de29..4cb98d6 100644
--- a/src/DatadogNet.Logs.iOS/ApiDefinitions.cs
+++ b/src/DatadogNet.Logs.iOS/ApiDefinitions.cs
@@ -0,0 +1,462 @@
+using System;
+using DatadogInternal;
+using Foundation;
+using ObjCRuntime;
+
+namespace DatadogLogs
+{
+ // @interface DDLogEvent
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEvent
+ {
+ [Export ("date", ArgumentSemantic.Copy)]
+ NSDate Date { get; }
+
+ [Export ("status")]
+ DDLogEventStatus Status { get; }
+
+ [Export ("message", ArgumentSemantic.Copy)]
+ string Message { get; set; }
+
+ [NullAllowed, Export ("error", ArgumentSemantic.Strong)]
+ DDLogEventError Error { get; }
+
+ [Export ("serviceName", ArgumentSemantic.Copy)]
+ string ServiceName { get; }
+
+ [Export ("environment", ArgumentSemantic.Copy)]
+ string Environment { get; }
+
+ [Export ("loggerName", ArgumentSemantic.Copy)]
+ string LoggerName { get; }
+
+ [Export ("loggerVersion", ArgumentSemantic.Copy)]
+ string LoggerVersion { get; }
+
+ [NullAllowed, Export ("threadName", ArgumentSemantic.Copy)]
+ string ThreadName { get; }
+
+ [Export ("applicationVersion", ArgumentSemantic.Copy)]
+ string ApplicationVersion { get; }
+
+ [Export ("applicationBuildNumber", ArgumentSemantic.Copy)]
+ string ApplicationBuildNumber { get; }
+
+ [NullAllowed, Export ("buildId", ArgumentSemantic.Copy)]
+ string BuildId { get; }
+
+ [NullAllowed, Export ("variant", ArgumentSemantic.Copy)]
+ string Variant { get; }
+
+ [Export ("dd", ArgumentSemantic.Strong)]
+ DDLogEventDd Dd { get; }
+
+ [Export ("device", ArgumentSemantic.Strong)]
+ DDLogEventDevice Device { get; }
+
+ [Export ("os", ArgumentSemantic.Strong)]
+ DDLogEventOperatingSystem Os { get; }
+
+ [Export ("userInfo", ArgumentSemantic.Strong)]
+ DDLogEventUserInfo UserInfo { get; }
+
+ [NullAllowed, Export ("accountInfo", ArgumentSemantic.Strong)]
+ DDLogEventAccountInfo AccountInfo { get; }
+
+ [NullAllowed, Export ("networkConnectionInfo", ArgumentSemantic.Strong)]
+ DDLogEventNetworkConnectionInfo NetworkConnectionInfo { get; }
+
+ [NullAllowed, Export ("mobileCarrierInfo", ArgumentSemantic.Strong)]
+ DDLogEventCarrierInfo MobileCarrierInfo { get; }
+
+ [Export ("attributes", ArgumentSemantic.Strong)]
+ DDLogEventAttributes Attributes { get; }
+
+ [NullAllowed, Export ("tags", ArgumentSemantic.Copy)]
+ string[] Tags { get; set; }
+ }
+
+ // @interface DDLogEventAccountInfo
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventAccountInfo
+ {
+ [Export ("id", ArgumentSemantic.Copy)]
+ string Id { get; }
+
+ [NullAllowed, Export ("name", ArgumentSemantic.Copy)]
+ string Name { get; }
+
+ [Export ("extraInfo", ArgumentSemantic.Copy)]
+ NSDictionary ExtraInfo { get; set; }
+ }
+
+ // @interface DDLogEventAttributes
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventAttributes
+ {
+ [Export ("userAttributes", ArgumentSemantic.Copy)]
+ NSDictionary UserAttributes { get; set; }
+ }
+
+ // @interface DDLogEventBinaryImage
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventBinaryImage
+ {
+ [NullAllowed, Export ("arch", ArgumentSemantic.Copy)]
+ string Arch { get; }
+
+ [Export ("isSystem")]
+ bool IsSystem { get; }
+
+ [NullAllowed, Export ("loadAddress", ArgumentSemantic.Copy)]
+ string LoadAddress { get; }
+
+ [NullAllowed, Export ("maxAddress", ArgumentSemantic.Copy)]
+ string MaxAddress { get; }
+
+ [Export ("name", ArgumentSemantic.Copy)]
+ string Name { get; }
+
+ [Export ("uuid", ArgumentSemantic.Copy)]
+ string Uuid { get; }
+ }
+
+ // @interface DDLogEventCarrierInfo
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventCarrierInfo
+ {
+ [NullAllowed, Export ("carrierName", ArgumentSemantic.Copy)]
+ string CarrierName { get; }
+
+ [NullAllowed, Export ("carrierISOCountryCode", ArgumentSemantic.Copy)]
+ string CarrierISOCountryCode { get; }
+
+ [Export ("carrierAllowsVOIP")]
+ bool CarrierAllowsVOIP { get; }
+
+ [Export ("radioAccessTechnology")]
+ DDLogEventRadioAccessTechnology RadioAccessTechnology { get; }
+ }
+
+ // @interface DDLogEventDDDevice
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventDDDevice
+ {
+ [Export ("architecture", ArgumentSemantic.Copy)]
+ string Architecture { get; }
+ }
+
+ // @interface DDLogEventDd
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventDd
+ {
+ [Export ("device", ArgumentSemantic.Strong)]
+ DDLogEventDDDevice Device { get; }
+ }
+
+ // @interface DDLogEventDevice
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventDevice
+ {
+ [NullAllowed, Export ("architecture", ArgumentSemantic.Copy)]
+ string Architecture { get; }
+
+ [NullAllowed, Export ("batteryLevel", ArgumentSemantic.Strong)]
+ NSNumber BatteryLevel { get; }
+
+ [NullAllowed, Export ("brand", ArgumentSemantic.Copy)]
+ string Brand { get; }
+
+ [NullAllowed, Export ("brightnessLevel", ArgumentSemantic.Strong)]
+ NSNumber BrightnessLevel { get; }
+
+ [NullAllowed, Export ("isLowRam", ArgumentSemantic.Strong)]
+ NSNumber IsLowRam { get; }
+
+ [NullAllowed, Export ("locale", ArgumentSemantic.Copy)]
+ string Locale { get; }
+
+ [NullAllowed, Export ("locales", ArgumentSemantic.Copy)]
+ string[] Locales { get; }
+
+ [NullAllowed, Export ("logicalCpuCount", ArgumentSemantic.Strong)]
+ NSNumber LogicalCpuCount { get; }
+
+ [NullAllowed, Export ("model", ArgumentSemantic.Copy)]
+ string Model { get; }
+
+ [NullAllowed, Export ("name", ArgumentSemantic.Copy)]
+ string Name { get; }
+
+ [NullAllowed, Export ("powerSavingMode", ArgumentSemantic.Strong)]
+ NSNumber PowerSavingMode { get; }
+
+ [NullAllowed, Export ("timeZone", ArgumentSemantic.Copy)]
+ string TimeZone { get; }
+
+ [NullAllowed, Export ("totalRam", ArgumentSemantic.Strong)]
+ NSNumber TotalRam { get; }
+
+ [Export ("type")]
+ DDLogEventDeviceDeviceType Type { get; }
+ }
+
+ // @interface DDLogEventError
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventError
+ {
+ [NullAllowed, Export ("kind", ArgumentSemantic.Copy)]
+ string Kind { get; set; }
+
+ [NullAllowed, Export ("message", ArgumentSemantic.Copy)]
+ string Message { get; set; }
+
+ [NullAllowed, Export ("stack", ArgumentSemantic.Copy)]
+ string Stack { get; set; }
+
+ [Export ("sourceType", ArgumentSemantic.Copy)]
+ string SourceType { get; set; }
+
+ [NullAllowed, Export ("fingerprint", ArgumentSemantic.Copy)]
+ string Fingerprint { get; set; }
+
+ [NullAllowed, Export ("binaryImages", ArgumentSemantic.Copy)]
+ DDLogEventBinaryImage[] BinaryImages { get; set; }
+ }
+
+ // @interface DDLogEventNetworkConnectionInfo
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventNetworkConnectionInfo
+ {
+ [Export ("reachability")]
+ DDLogEventReachability Reachability { get; }
+
+ [NullAllowed, Export ("availableInterfaces", ArgumentSemantic.Copy)]
+ NSNumber[] AvailableInterfaces { get; }
+
+ [NullAllowed, Export ("supportsIPv4", ArgumentSemantic.Strong)]
+ NSNumber SupportsIPv4 { get; }
+
+ [NullAllowed, Export ("supportsIPv6", ArgumentSemantic.Strong)]
+ NSNumber SupportsIPv6 { get; }
+
+ [NullAllowed, Export ("isExpensive", ArgumentSemantic.Strong)]
+ NSNumber IsExpensive { get; }
+
+ [NullAllowed, Export ("isConstrained", ArgumentSemantic.Strong)]
+ NSNumber IsConstrained { get; }
+
+ [Export ("linkQuality")]
+ DDLogEventLinkQuality LinkQuality { get; }
+ }
+
+ // @interface DDLogEventOperatingSystem
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventOperatingSystem
+ {
+ [Export ("name", ArgumentSemantic.Copy)]
+ string Name { get; }
+
+ [Export ("version", ArgumentSemantic.Copy)]
+ string Version { get; }
+
+ [NullAllowed, Export ("build", ArgumentSemantic.Copy)]
+ string Build { get; }
+
+ [Export ("versionMajor", ArgumentSemantic.Copy)]
+ string VersionMajor { get; }
+ }
+
+ // @interface DDLogEventUserInfo
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogEventUserInfo
+ {
+ [NullAllowed, Export ("id", ArgumentSemantic.Copy)]
+ string Id { get; }
+
+ [NullAllowed, Export ("name", ArgumentSemantic.Copy)]
+ string Name { get; }
+
+ [NullAllowed, Export ("email", ArgumentSemantic.Copy)]
+ string Email { get; }
+
+ [NullAllowed, Export ("anonymousId", ArgumentSemantic.Copy)]
+ string AnonymousId { get; }
+
+ [Export ("extraInfo", ArgumentSemantic.Copy)]
+ NSDictionary ExtraInfo { get; set; }
+ }
+
+ // @interface DDLogger
+ [BaseType (typeof(NSObject))]
+ [DisableDefaultCtor]
+ interface DDLogger
+ {
+ [Export ("debug:")]
+ void Debug (string message);
+
+ [Export ("debug:attributes:")]
+ void Debug (string message, NSDictionary attributes);
+
+ [Export ("debug:error:attributes:")]
+ void Debug (string message, NSError error, NSDictionary attributes);
+
+ [Export ("info:")]
+ void Info (string message);
+
+ [Export ("info:attributes:")]
+ void Info (string message, NSDictionary attributes);
+
+ [Export ("info:error:attributes:")]
+ void Info (string message, NSError error, NSDictionary attributes);
+
+ [Export ("notice:")]
+ void Notice (string message);
+
+ [Export ("notice:attributes:")]
+ void Notice (string message, NSDictionary attributes);
+
+ [Export ("notice:error:attributes:")]
+ void Notice (string message, NSError error, NSDictionary attributes);
+
+ [Export ("warn:")]
+ void Warn (string message);
+
+ [Export ("warn:attributes:")]
+ void Warn (string message, NSDictionary attributes);
+
+ [Export ("warn:error:attributes:")]
+ void Warn (string message, NSError error, NSDictionary attributes);
+
+ [Export ("error:")]
+ void Error (string message);
+
+ [Export ("error:attributes:")]
+ void Error (string message, NSDictionary attributes);
+
+ [Export ("error:error:attributes:")]
+ void Error (string message, NSError error, NSDictionary attributes);
+
+ [Export ("critical:")]
+ void Critical (string message);
+
+ [Export ("critical:attributes:")]
+ void Critical (string message, NSDictionary attributes);
+
+ [Export ("critical:error:attributes:")]
+ void Critical (string message, NSError error, NSDictionary attributes);
+
+ [Export ("addAttributeForKey:value:")]
+ void AddAttributeForKey (string key, NSObject value);
+
+ [Export ("removeAttributeForKey:")]
+ void RemoveAttributeForKey (string key);
+
+ [Export ("addTagWithKey:value:")]
+ void AddTagWithKey (string key, string value);
+
+ [Export ("removeTagWithKey:")]
+ void RemoveTagWithKey (string key);
+
+ [Export ("addWithTag:")]
+ void AddWithTag (string tag);
+
+ [Export ("removeWithTag:")]
+ void RemoveWithTag (string tag);
+
+ [Static]
+ [Export ("createWith:")]
+ DDLogger CreateWith (DDLoggerConfiguration configuration);
+
+ [Static]
+ [Export ("createWith:instanceName:")]
+ DDLogger CreateWith (DDLoggerConfiguration configuration, [NullAllowed] string instanceName);
+ }
+
+ // @interface DDLoggerConfiguration
+ [BaseType (typeof(NSObject))]
+ interface DDLoggerConfiguration
+ {
+ [NullAllowed, Export ("service", ArgumentSemantic.Copy)]
+ string Service { get; set; }
+
+ [NullAllowed, Export ("name", ArgumentSemantic.Copy)]
+ string Name { get; set; }
+
+ [Export ("networkInfoEnabled")]
+ bool NetworkInfoEnabled { get; set; }
+
+ [Export ("bundleWithRumEnabled")]
+ bool BundleWithRumEnabled { get; set; }
+
+ [Export ("bundleWithTraceEnabled")]
+ bool BundleWithTraceEnabled { get; set; }
+
+ [Export ("remoteSampleRate")]
+ float RemoteSampleRate { get; set; }
+
+ [Export ("printLogsToConsole")]
+ bool PrintLogsToConsole { get; set; }
+
+ [Export ("remoteLogThreshold")]
+ DDLogLevel RemoteLogThreshold { get; set; }
+
+ [Export ("initWithService:name:networkInfoEnabled:bundleWithRumEnabled:bundleWithTraceEnabled:remoteSampleRate:remoteLogThreshold:printLogsToConsole:")]
+ NativeHandle Constructor ([NullAllowed] string service, [NullAllowed] string name, bool networkInfoEnabled, bool bundleWithRumEnabled, bool bundleWithTraceEnabled, float remoteSampleRate, DDLogLevel remoteLogThreshold, bool printLogsToConsole);
+ }
+
+ // @interface DDLogs
+ [BaseType (typeof(NSObject))]
+ interface DDLogs
+ {
+ [Static]
+ [Export ("enableWith:")]
+ void EnableWith (DDLogsConfiguration configuration);
+
+ [Static]
+ [Export ("enableWith:instanceName:")]
+ void EnableWith (DDLogsConfiguration configuration, [NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("addAttributeForKey:value:")]
+ void AddAttributeForKey (string key, NSObject value);
+
+ [Static]
+ [Export ("addAttributeForKey:value:instanceName:")]
+ void AddAttributeForKey (string key, NSObject value, [NullAllowed] string instanceName);
+
+ [Static]
+ [Export ("removeAttributeForKey:")]
+ void RemoveAttributeForKey (string key);
+
+ [Static]
+ [Export ("removeAttributeForKey:instanceName:")]
+ void RemoveAttributeForKey (string key, [NullAllowed] string instanceName);
+ }
+
+ // @interface DDLogsConfiguration
+ [BaseType (typeof(NSObject))]
+ interface DDLogsConfiguration
+ {
+ [NullAllowed, Export ("customEndpoint", ArgumentSemantic.Copy)]
+ NSUrl CustomEndpoint { get; set; }
+
+ [Export ("initWithCustomEndpoint:")]
+ NativeHandle Constructor ([NullAllowed] NSUrl customEndpoint);
+
+ [Export ("setEventMapper:")]
+ void SetEventMapper (Func mapper);
+ }
+}
diff --git a/src/DatadogNet.Logs.iOS/StructsAndEnums.cs b/src/DatadogNet.Logs.iOS/StructsAndEnums.cs
new file mode 100644
index 0000000..4723b5e
--- /dev/null
+++ b/src/DatadogNet.Logs.iOS/StructsAndEnums.cs
@@ -0,0 +1,85 @@
+using ObjCRuntime;
+
+namespace DatadogLogs
+{
+ [Native]
+ public enum DDLogEventDeviceDeviceType : long
+ {
+ None = 0,
+ Mobile = 1,
+ Desktop = 2,
+ Tablet = 3,
+ Tv = 4,
+ GamingConsole = 5,
+ Bot = 6,
+ Other = 7
+ }
+
+ [Native]
+ public enum DDLogEventInterface : long
+ {
+ Wifi = 0,
+ WiredEthernet = 1,
+ Cellular = 2,
+ Loopback = 3,
+ Other = 4
+ }
+
+ [Native]
+ public enum DDLogEventLinkQuality : long
+ {
+ None = 0,
+ Good = 1,
+ Minimal = 2,
+ Moderate = 3,
+ Unknown = 4
+ }
+
+ [Native]
+ public enum DDLogEventRadioAccessTechnology : long
+ {
+ GPRS = 0,
+ Edge = 1,
+ WCDMA = 2,
+ HSDPA = 3,
+ HSUPA = 4,
+ CDMA1x = 5,
+ CDMAEVDORev0 = 6,
+ CDMAEVDORevA = 7,
+ CDMAEVDORevB = 8,
+ EHRPD = 9,
+ LTE = 10,
+ Unknown = 11
+ }
+
+ [Native]
+ public enum DDLogEventReachability : long
+ {
+ Yes = 0,
+ Maybe = 1,
+ No = 2
+ }
+
+ [Native]
+ public enum DDLogEventStatus : long
+ {
+ Debug = 0,
+ Info = 1,
+ Notice = 2,
+ Warn = 3,
+ Error = 4,
+ Critical = 5,
+ Emergency = 6
+ }
+
+ [Native]
+ public enum DDLogLevel : long
+ {
+ Debug = 0,
+ Info = 1,
+ Notice = 2,
+ Warn = 3,
+ Error = 4,
+ Critical = 5
+ }
+}
diff --git a/src/DatadogNet.Objc.iOS/Additions/DDURLSessionInstrumentation.Ergonomics.cs b/src/DatadogNet.Objc.iOS/Additions/DDURLSessionInstrumentation.Ergonomics.cs
deleted file mode 100644
index ba7edf4..0000000
--- a/src/DatadogNet.Objc.iOS/Additions/DDURLSessionInstrumentation.Ergonomics.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-// Nullable annotations are enabled per file rather than for the project: the generated
-// binding sources are not written against a nullable context, and switching the whole
-// project over would bury real warnings here under hundreds of generated ones.
-#nullable enable
-
-using System;
-using Foundation;
-using ObjCRuntime;
-
-namespace DatadogObjc
-{
- public partial class DDURLSessionInstrumentationConfiguration
- {
- ///
- /// Creates a configuration that instruments the given NSUrlSessionDataDelegate type.
- ///
- ///
- /// The delegate class to instrument. Must be an subclass that
- /// implements and is registered with the
- /// Objective-C runtime.
- ///
- ///
- /// The native initializer takes an Objective-C Class, which reaches C# as a bare
- /// . Passing the right value means knowing to call
- /// Class.GetHandle (typeof (T)) - which nothing in the generated signature hints at,
- /// and which silently yields for a type the runtime does not know,
- /// leaving instrumentation quietly disabled rather than failing.
- ///
- ///
- /// is not a registered Objective-C class.
- ///
- public static DDURLSessionInstrumentationConfiguration Create (Type delegateType) =>
- new DDURLSessionInstrumentationConfiguration (HandleFor (delegateType, nameof (delegateType)));
-
- ///
- /// The delegate class to instrument.
- public static DDURLSessionInstrumentationConfiguration Create ()
- where TDelegate : NSObject, INSUrlSessionDataDelegate =>
- Create (typeof (TDelegate));
-
- /// The delegate class being instrumented.
- ///
- /// The typed view of , which is an holding
- /// an Objective-C Class. Returns if the class does not map
- /// back to a managed type.
- ///
- public Type? DelegateType {
- get => DelegateClass == IntPtr.Zero ? null : Class.Lookup (new Class (DelegateClass));
- set => DelegateClass = value is null ? IntPtr.Zero : HandleFor (value, nameof (value));
- }
-
- internal static IntPtr HandleFor (Type delegateType, string parameterName)
- {
- if (delegateType is null)
- throw new ArgumentNullException (parameterName);
-
- var handle = Class.GetHandle (delegateType);
- if (handle == IntPtr.Zero) {
- throw new ArgumentException (
- $"'{delegateType.FullName}' is not a registered Objective-C class. It must derive from " +
- "NSObject, implement INSUrlSessionDataDelegate, and carry a [Register] attribute.",
- parameterName);
- }
-
- return handle;
- }
- }
-
- public partial class DDURLSessionInstrumentation
- {
- /// Starts instrumenting the given delegate type for RUM resource and trace collection.
- ///
- /// Shorthand for
- /// EnableWithConfiguration (DDURLSessionInstrumentationConfiguration.Create (delegateType)).
- /// Enable this once, before creating the NSUrlSession that uses the delegate.
- ///
- public static void Enable (Type delegateType) =>
- EnableWithConfiguration (DDURLSessionInstrumentationConfiguration.Create (delegateType));
-
- ///
- /// The delegate class to instrument.
- public static void Enable ()
- where TDelegate : NSObject, INSUrlSessionDataDelegate =>
- Enable (typeof (TDelegate));
-
- /// Stops instrumenting the given delegate type.
- public static void Disable (Type delegateType) =>
- DisableWithDelegateClass (
- DDURLSessionInstrumentationConfiguration.HandleFor (delegateType, nameof (delegateType)));
-
- ///
- /// The delegate class to stop instrumenting.
- public static void Disable ()
- where TDelegate : NSObject, INSUrlSessionDataDelegate =>
- Disable (typeof (TDelegate));
- }
-}
diff --git a/src/DatadogNet.Objc.iOS/ApiDefinitions.cs b/src/DatadogNet.Objc.iOS/ApiDefinitions.cs
deleted file mode 100644
index 2675624..0000000
--- a/src/DatadogNet.Objc.iOS/ApiDefinitions.cs
+++ /dev/null
@@ -1,6675 +0,0 @@
-using System;
-using DatadogObjc;
-using Foundation;
-using ObjCRuntime;
-using UIKit;
-
-namespace DatadogObjc
-{
- // @interface DDB3HTTPHeadersWriter : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDB3HTTPHeadersWriter")]
- [DisableDefaultCtor]
- interface DDB3HTTPHeadersWriter
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull traceHeaderFields;
- [Export ("traceHeaderFields", ArgumentSemantic.Copy)]
- NSDictionary TraceHeaderFields { get; }
-
- // -(instancetype _Nonnull)initWithSamplingRate:(float)samplingRate injectEncoding:(enum DDInjectEncoding)injectEncoding __attribute__((deprecated("This will be removed in future versions of the SDK. Use `init(samplingStrategy: .custom(sampleRate:))` instead.")));
- //[Export ("initWithSamplingRate:injectEncoding:")]
- //NativeHandle Constructor (float samplingRate, DDInjectEncoding injectEncoding);
-
- // -(instancetype _Nonnull)initWithSampleRate:(float)sampleRate injectEncoding:(enum DDInjectEncoding)injectEncoding __attribute__((objc_designated_initializer)) __attribute__((deprecated("This will be removed in future versions of the SDK. Use `init(samplingStrategy: .custom(sampleRate:))` instead.")));
- [Export ("initWithSampleRate:injectEncoding:")]
- [DesignatedInitializer]
- NativeHandle Constructor (float sampleRate, DDInjectEncoding injectEncoding);
-
- // -(instancetype _Nonnull)initWithSamplingStrategy:(DDTraceSamplingStrategy * _Nonnull)samplingStrategy injectEncoding:(enum DDInjectEncoding)injectEncoding traceContextInjection:(enum DDTraceContextInjection)traceContextInjection __attribute__((objc_designated_initializer));
- [Export ("initWithSamplingStrategy:injectEncoding:traceContextInjection:")]
- [DesignatedInitializer]
- NativeHandle Constructor (DDTraceSamplingStrategy samplingStrategy, DDInjectEncoding injectEncoding, DDTraceContextInjection traceContextInjection);
- }
-
- // @interface DDConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc15DDConfiguration")]
- [DisableDefaultCtor]
- interface DDConfiguration
- {
- // @property (copy, nonatomic) NSString * _Nonnull clientToken;
- [Export ("clientToken")]
- string ClientToken { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nonnull env;
- [Export ("env")]
- string Env { get; set; }
-
- // @property (nonatomic, strong) DDSite * _Nonnull site;
- [Export ("site", ArgumentSemantic.Strong)]
- DDSite Site { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable service;
- [NullAllowed, Export ("service")]
- string Service { get; set; }
-
- // @property (nonatomic) enum DDBatchSize batchSize;
- [Export ("batchSize", ArgumentSemantic.Assign)]
- DDBatchSize BatchSize { get; set; }
-
- // @property (nonatomic) enum DDUploadFrequency uploadFrequency;
- [Export ("uploadFrequency", ArgumentSemantic.Assign)]
- DDUploadFrequency UploadFrequency { get; set; }
-
- // @property (nonatomic) enum DDBatchProcessingLevel batchProcessingLevel;
- [Export ("batchProcessingLevel", ArgumentSemantic.Assign)]
- DDBatchProcessingLevel BatchProcessingLevel { get; set; }
-
- // @property (copy, nonatomic) NSDictionary * _Nullable proxyConfiguration;
- [NullAllowed, Export ("proxyConfiguration", ArgumentSemantic.Copy)]
- NSDictionary ProxyConfiguration { get; set; }
-
- // -(void)setEncryption:(id _Nonnull)encryption;
- [Export ("setEncryption:")]
- void SetEncryption (DDDataEncryption encryption);
-
- // -(void)setServerDateProvider:(id _Nonnull)serverDateProvider;
- [Export ("setServerDateProvider:")]
- void SetServerDateProvider (DDServerDateProvider serverDateProvider);
-
- // @property (nonatomic, strong) NSBundle * _Nonnull bundle;
- [Export ("bundle", ArgumentSemantic.Strong)]
- NSBundle Bundle { get; set; }
-
- // @property (copy, nonatomic) NSDictionary * _Nonnull additionalConfiguration;
- [Export ("additionalConfiguration", ArgumentSemantic.Copy)]
- NSDictionary AdditionalConfiguration { get; set; }
-
- // -(instancetype _Nonnull)initWithClientToken:(NSString * _Nonnull)clientToken env:(NSString * _Nonnull)env __attribute__((objc_designated_initializer));
- [Export ("initWithClientToken:env:")]
- [DesignatedInitializer]
- NativeHandle Constructor (string clientToken, string env);
-
- [Export ("backgroundTasksEnabled")]
- bool BackgroundTasksEnabled { get; set; }
- }
-
- partial interface IDDDataEncryption { }
- // @protocol DDDataEncryption
- /*
- Check whether adding [Model] to this declaration is appropriate.
- [Model] is used to generate a C# class that implements this protocol,
- and might be useful for protocols that consumers are supposed to implement,
- since consumers can subclass the generated class instead of implementing
- the generated interface. If consumers are not supposed to implement this
- protocol, then [Model] is redundant and will generate code that will never
- be used.
-*/
- partial interface IDDDataEncryption {}
-
- [Protocol (Name = "_TtP11DatadogObjc16DDDataEncryption_")]
- [BaseType(typeof(NSObject))]
- interface DDDataEncryption
- {
- // @required -(NSData * _Nullable)encryptWithData:(NSData * _Nonnull)data error:(NSError * _Nullable * _Nullable)error __attribute__((warn_unused_result("")));
- [Abstract]
- [Export ("encryptWithData:error:")]
- [return: NullAllowed]
- NSData EncryptWithData (NSData data, [NullAllowed] out NSError error);
-
- // @required -(NSData * _Nullable)decryptWithData:(NSData * _Nonnull)data error:(NSError * _Nullable * _Nullable)error __attribute__((warn_unused_result("")));
- [Abstract]
- [Export ("decryptWithData:error:")]
- [return: NullAllowed]
- NSData DecryptWithData (NSData data, [NullAllowed] out NSError error);
- }
-
- // @interface DDDatadog : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc9DDDatadog")]
- interface DDDatadog
- {
- // +(void)initializeWithConfiguration:(DDConfiguration * _Nonnull)configuration trackingConsent:(DDTrackingConsent * _Nonnull)trackingConsent;
- [Static]
- [Export ("initializeWithConfiguration:trackingConsent:")]
- void InitializeWithConfiguration (DDConfiguration configuration, DDTrackingConsent trackingConsent);
-
- // +(enum DDSDKVerbosityLevel)verbosityLevel __attribute__((warn_unused_result("")));
- // +(void)setVerbosityLevel:(enum DDSDKVerbosityLevel)verbosityLevel;
- [Static]
- [Export ("verbosityLevel")]
- DDSDKVerbosityLevel VerbosityLevel { get; set; }
-
- // +(void)setUserInfoWithId:(NSString * _Nullable)id name:(NSString * _Nullable)name email:(NSString * _Nullable)email extraInfo:(NSDictionary * _Nonnull)extraInfo;
- [Static]
- [Export ("setUserInfoWithId:name:email:extraInfo:")]
- void SetUserInfoWithId ([NullAllowed] string id, [NullAllowed] string name, [NullAllowed] string email, NSDictionary extraInfo);
-
- // +(void)addUserExtraInfo:(NSDictionary * _Nonnull)extraInfo;
- [Static]
- [Export ("addUserExtraInfo:")]
- void AddUserExtraInfo (NSDictionary extraInfo);
-
- // +(void)setTrackingConsentWithConsent:(DDTrackingConsent * _Nonnull)consent;
- [Static]
- [Export ("setTrackingConsentWithConsent:")]
- void SetTrackingConsentWithConsent (DDTrackingConsent consent);
-
- // +(BOOL)isInitialized __attribute__((warn_unused_result("")));
- [Static]
- [Export ("isInitialized")]
- bool IsInitialized { get; }
-
- // +(void)stopInstance;
- [Static]
- [Export ("stopInstance")]
- void StopInstance ();
-
- // +(void)clearAllData;
- [Static]
- [Export ("clearAllData")]
- void ClearAllData ();
-
- [Static]
- [Export ("setUserInfoWithUserId:name:email:extraInfo:")]
- void SetUserInfoWithUserId (string userId, [NullAllowed] string name, [NullAllowed] string email, NSDictionary extraInfo);
-
- [Static]
- [Export ("clearUserInfo")]
- void ClearUserInfo ();
-
- [Static]
- [Export ("setAccountInfoWithAccountId:name:extraInfo:")]
- void SetAccountInfoWithAccountId (string accountId, [NullAllowed] string name, NSDictionary extraInfo);
-
- [Static]
- [Export ("addAccountExtraInfo:")]
- void AddAccountExtraInfo (NSDictionary extraInfo);
-
- [Static]
- [Export ("clearAccountInfo")]
- void ClearAccountInfo ();
- }
-
- // @protocol DDUITouchRUMActionsPredicate
- /*
- Check whether adding [Model] to this declaration is appropriate.
- [Model] is used to generate a C# class that implements this protocol,
- and might be useful for protocols that consumers are supposed to implement,
- since consumers can subclass the generated class instead of implementing
- the generated interface. If consumers are not supposed to implement this
- protocol, then [Model] is redundant and will generate code that will never
- be used.
-*/
- partial interface IDDUITouchRUMActionsPredicate {}
-
- [Model, Protocol (Name = "_TtP11DatadogObjc28DDUITouchRUMActionsPredicate_")]
- [BaseType(typeof(NSObject))]
- interface DDUITouchRUMActionsPredicate
- {
- // @required -(DDRUMAction * _Nullable)rumActionWithTargetView:(UIView * _Nonnull)targetView __attribute__((warn_unused_result("")));
- [Abstract]
- [Export ("rumActionWithTargetView:")]
- [return: NullAllowed]
- DDRUMAction RumActionWithTargetView (UIView targetView);
- }
-
- // @protocol DDUIKitRUMActionsPredicate
- /*
- Check whether adding [Model] to this declaration is appropriate.
- [Model] is used to generate a C# class that implements this protocol,
- and might be useful for protocols that consumers are supposed to implement,
- since consumers can subclass the generated class instead of implementing
- the generated interface. If consumers are not supposed to implement this
- protocol, then [Model] is redundant and will generate code that will never
- be used.
-*/
- partial interface IDDUIKitRUMActionsPredicate {}
-
- [Model, Protocol (Name = "_TtP11DatadogObjc26DDUIKitRUMActionsPredicate_")]
- [BaseType(typeof(NSObject))]
- interface DDUIKitRUMActionsPredicate : DDUITouchRUMActionsPredicate
- {
- }
-
- // @interface DDDefaultUIKitRUMActionsPredicate : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDDefaultUIKitRUMActionsPredicate")]
- interface DDDefaultUIKitRUMActionsPredicate : DDUIKitRUMActionsPredicate
- {
- // -(DDRUMAction * _Nullable)rumActionWithTargetView:(UIView * _Nonnull)targetView __attribute__((warn_unused_result("")));
- [Export ("rumActionWithTargetView:")]
- [return: NullAllowed]
- DDRUMAction RumActionWithTargetView (UIView targetView);
- }
-
- // @protocol DDUIKitRUMViewsPredicate
- /*
- Check whether adding [Model] to this declaration is appropriate.
- [Model] is used to generate a C# class that implements this protocol,
- and might be useful for protocols that consumers are supposed to implement,
- since consumers can subclass the generated class instead of implementing
- the generated interface. If consumers are not supposed to implement this
- protocol, then [Model] is redundant and will generate code that will never
- be used.
-*/
- partial interface IDDUIKitRUMViewsPredicate {}
-
- [Model, Protocol (Name = "_TtP11DatadogObjc24DDUIKitRUMViewsPredicate_")]
- [BaseType(typeof(NSObject))]
- interface DDUIKitRUMViewsPredicate
- {
- // @required -(DDRUMView * _Nullable)rumViewFor:(UIViewController * _Nonnull)viewController __attribute__((warn_unused_result("")));
- [Abstract]
- [Export ("rumViewFor:")]
- [return: NullAllowed]
- DDRUMView RumViewFor (UIViewController viewController);
- }
-
- // @interface DDDefaultUIKitRUMViewsPredicate : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc31DDDefaultUIKitRUMViewsPredicate")]
- interface DDDefaultUIKitRUMViewsPredicate : DDUIKitRUMViewsPredicate
- {
- // -(DDRUMView * _Nullable)rumViewFor:(UIViewController * _Nonnull)viewController __attribute__((warn_unused_result("")));
- [Export ("rumViewFor:")]
- [return: NullAllowed]
- DDRUMView RumViewFor (UIViewController viewController);
- }
-
- // @interface DDHTTPHeadersWriter : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc19DDHTTPHeadersWriter")]
- [DisableDefaultCtor]
- interface DDHTTPHeadersWriter
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull traceHeaderFields;
- [Export ("traceHeaderFields", ArgumentSemantic.Copy)]
- NSDictionary TraceHeaderFields { get; }
-
- // -(instancetype _Nonnull)initWithSamplingRate:(float)samplingRate __attribute__((deprecated("This will be removed in future versions of the SDK. Use `init(samplingStrategy: .custom(sampleRate:))` instead.")));
- //[Export ("initWithSamplingRate:")]
- //NativeHandle Constructor (float samplingRate);
-
- // -(instancetype _Nonnull)initWithSampleRate:(float)sampleRate __attribute__((objc_designated_initializer)) __attribute__((deprecated("This will be removed in future versions of the SDK. Use `init(samplingStrategy: .custom(sampleRate:))` instead.")));
- [Export ("initWithSampleRate:")]
- [DesignatedInitializer]
- NativeHandle Constructor (float sampleRate);
-
- // -(instancetype _Nonnull)initWithSamplingStrategy:(DDTraceSamplingStrategy * _Nonnull)samplingStrategy traceContextInjection:(enum DDTraceContextInjection)traceContextInjection __attribute__((objc_designated_initializer));
- [Export ("initWithSamplingStrategy:traceContextInjection:")]
- [DesignatedInitializer]
- NativeHandle Constructor (DDTraceSamplingStrategy samplingStrategy, DDTraceContextInjection traceContextInjection);
- }
-
- // @interface DDLogger : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc8DDLogger")]
- [DisableDefaultCtor]
- interface DDLogger
- {
- // -(void)debug:(NSString * _Nonnull)message;
- [Export ("debug:")]
- void Debug (string message);
-
- // -(void)debug:(NSString * _Nonnull)message attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("debug:attributes:")]
- void Debug (string message, NSDictionary attributes);
-
- // -(void)debug:(NSString * _Nonnull)message error:(NSError * _Nonnull)error attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("debug:error:attributes:")]
- void Debug (string message, NSError error, NSDictionary attributes);
-
- // -(void)info:(NSString * _Nonnull)message;
- [Export ("info:")]
- void Info (string message);
-
- // -(void)info:(NSString * _Nonnull)message attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("info:attributes:")]
- void Info (string message, NSDictionary attributes);
-
- // -(void)info:(NSString * _Nonnull)message error:(NSError * _Nonnull)error attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("info:error:attributes:")]
- void Info (string message, NSError error, NSDictionary attributes);
-
- // -(void)notice:(NSString * _Nonnull)message;
- [Export ("notice:")]
- void Notice (string message);
-
- // -(void)notice:(NSString * _Nonnull)message attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("notice:attributes:")]
- void Notice (string message, NSDictionary attributes);
-
- // -(void)notice:(NSString * _Nonnull)message error:(NSError * _Nonnull)error attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("notice:error:attributes:")]
- void Notice (string message, NSError error, NSDictionary attributes);
-
- // -(void)warn:(NSString * _Nonnull)message;
- [Export ("warn:")]
- void Warn (string message);
-
- // -(void)warn:(NSString * _Nonnull)message attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("warn:attributes:")]
- void Warn (string message, NSDictionary attributes);
-
- // -(void)warn:(NSString * _Nonnull)message error:(NSError * _Nonnull)error attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("warn:error:attributes:")]
- void Warn (string message, NSError error, NSDictionary attributes);
-
- // -(void)error:(NSString * _Nonnull)message;
- [Export ("error:")]
- void Error (string message);
-
- // -(void)error:(NSString * _Nonnull)message attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("error:attributes:")]
- void Error (string message, NSDictionary attributes);
-
- // -(void)error:(NSString * _Nonnull)message error:(NSError * _Nonnull)error attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("error:error:attributes:")]
- void Error (string message, NSError error, NSDictionary attributes);
-
- // -(void)critical:(NSString * _Nonnull)message;
- [Export ("critical:")]
- void Critical (string message);
-
- // -(void)critical:(NSString * _Nonnull)message attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("critical:attributes:")]
- void Critical (string message, NSDictionary attributes);
-
- // -(void)critical:(NSString * _Nonnull)message error:(NSError * _Nonnull)error attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("critical:error:attributes:")]
- void Critical (string message, NSError error, NSDictionary attributes);
-
- // -(void)addAttributeForKey:(NSString * _Nonnull)key value:(id _Nonnull)value;
- [Export ("addAttributeForKey:value:")]
- void AddAttributeForKey (string key, NSObject value);
-
- // -(void)removeAttributeForKey:(NSString * _Nonnull)key;
- [Export ("removeAttributeForKey:")]
- void RemoveAttributeForKey (string key);
-
- // -(void)addTagWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value;
- [Export ("addTagWithKey:value:")]
- void AddTagWithKey (string key, string value);
-
- // -(void)removeTagWithKey:(NSString * _Nonnull)key;
- [Export ("removeTagWithKey:")]
- void RemoveTagWithKey (string key);
-
- // -(void)addWithTag:(NSString * _Nonnull)tag;
- [Export ("addWithTag:")]
- void AddWithTag (string tag);
-
- // -(void)removeWithTag:(NSString * _Nonnull)tag;
- [Export ("removeWithTag:")]
- void RemoveWithTag (string tag);
-
- // +(DDLogger * _Nonnull)createWith:(DDLoggerConfiguration * _Nonnull)configuration __attribute__((warn_unused_result("")));
- [Static]
- [Export ("createWith:")]
- DDLogger CreateWith (DDLoggerConfiguration configuration);
- }
-
- // @interface DDLoggerConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDLoggerConfiguration")]
- [DisableDefaultCtor]
- interface DDLoggerConfiguration
- {
- // @property (copy, nonatomic) NSString * _Nullable service;
- [NullAllowed, Export ("service")]
- string Service { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; set; }
-
- // @property (nonatomic) BOOL networkInfoEnabled;
- [Export ("networkInfoEnabled")]
- bool NetworkInfoEnabled { get; set; }
-
- // @property (nonatomic) BOOL bundleWithRumEnabled;
- [Export ("bundleWithRumEnabled")]
- bool BundleWithRumEnabled { get; set; }
-
- // @property (nonatomic) BOOL bundleWithTraceEnabled;
- [Export ("bundleWithTraceEnabled")]
- bool BundleWithTraceEnabled { get; set; }
-
- // @property (nonatomic) float remoteSampleRate;
- [Export ("remoteSampleRate")]
- float RemoteSampleRate { get; set; }
-
- // @property (nonatomic) BOOL printLogsToConsole;
- [Export ("printLogsToConsole")]
- bool PrintLogsToConsole { get; set; }
-
- // @property (nonatomic) enum DDLogLevel remoteLogThreshold;
- [Export ("remoteLogThreshold", ArgumentSemantic.Assign)]
- DDLogLevel RemoteLogThreshold { get; set; }
-
- // -(instancetype _Nonnull)initWithService:(NSString * _Nullable)service name:(NSString * _Nullable)name networkInfoEnabled:(BOOL)networkInfoEnabled bundleWithRumEnabled:(BOOL)bundleWithRumEnabled bundleWithTraceEnabled:(BOOL)bundleWithTraceEnabled remoteSampleRate:(float)remoteSampleRate remoteLogThreshold:(enum DDLogLevel)remoteLogThreshold printLogsToConsole:(BOOL)printLogsToConsole __attribute__((objc_designated_initializer));
- [Export ("initWithService:name:networkInfoEnabled:bundleWithRumEnabled:bundleWithTraceEnabled:remoteSampleRate:remoteLogThreshold:printLogsToConsole:")]
- [DesignatedInitializer]
- NativeHandle Constructor ([NullAllowed] string service, [NullAllowed] string name, bool networkInfoEnabled, bool bundleWithRumEnabled, bool bundleWithTraceEnabled, float remoteSampleRate, DDLogLevel remoteLogThreshold, bool printLogsToConsole);
- }
-
- // @interface DDLogs : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc6DDLogs")]
- interface DDLogs
- {
- // +(void)enableWith:(DDLogsConfiguration * _Nonnull)configuration;
- [Static]
- [Export ("enableWith:")]
- void EnableWith (DDLogsConfiguration configuration);
-
- // +(void)addAttributeForKey:(NSString * _Nonnull)key value:(id _Nonnull)value;
- [Static]
- [Export ("addAttributeForKey:value:")]
- void AddAttributeForKey (string key, NSObject value);
-
- // +(void)removeAttributeForKey:(NSString * _Nonnull)key;
- [Static]
- [Export ("removeAttributeForKey:")]
- void RemoveAttributeForKey (string key);
- }
-
- // @interface DDLogsConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc19DDLogsConfiguration")]
- [DisableDefaultCtor]
- interface DDLogsConfiguration
- {
- // @property (copy, nonatomic) NSURL * _Nullable customEndpoint;
- [NullAllowed, Export ("customEndpoint", ArgumentSemantic.Copy)]
- NSUrl CustomEndpoint { get; set; }
-
- // -(instancetype _Nonnull)initWithCustomEndpoint:(NSURL * _Nullable)customEndpoint __attribute__((objc_designated_initializer));
- [Export ("initWithCustomEndpoint:")]
- [DesignatedInitializer]
- NativeHandle Constructor ([NullAllowed] NSUrl customEndpoint);
-
- // -(void)setEventMapper:(DDLogEvent * _Nullable (^ _Nonnull)(DDLogEvent * _Nonnull))mapper;
- // Return the event to keep it, a modified event to rewrite it, or null to drop it entirely.
- // This is the Logs counterpart of DDRUMConfiguration's five event mappers, and the only
- // supported way to redact a log before it leaves the device.
- [Export ("setEventMapper:")]
- void SetEventMapper (Func mapper);
- }
-
- // @interface DDNSURLSessionDelegate : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDNSURLSessionDelegate")]
- interface DDNSURLSessionDelegate : INSUrlSessionDataDelegate
- {
- // -(instancetype _Nonnull)initWithAdditionalFirstPartyHostsWithHeaderTypes:(NSDictionary *> * _Nonnull)additionalFirstPartyHostsWithHeaderTypes __attribute__((objc_designated_initializer));
- [Export ("initWithAdditionalFirstPartyHostsWithHeaderTypes:")]
- [DesignatedInitializer]
- NativeHandle Constructor (NSDictionary> additionalFirstPartyHostsWithHeaderTypes);
-
- // -(instancetype _Nonnull)initWithAdditionalFirstPartyHosts:(NSSet * _Nonnull)additionalFirstPartyHosts;
- [Export ("initWithAdditionalFirstPartyHosts:")]
- NativeHandle Constructor (NSSet additionalFirstPartyHosts);
- }
-
- // @interface DDOTelHTTPHeadersWriter : DDB3HTTPHeadersWriter
- [BaseType (typeof(DDB3HTTPHeadersWriter), Name = "_TtC11DatadogObjc23DDOTelHTTPHeadersWriter")]
- interface DDOTelHTTPHeadersWriter
- {
- // -(instancetype _Nonnull)initWithSampleRate:(float)sampleRate injectEncoding:(enum DDInjectEncoding)injectEncoding __attribute__((objc_designated_initializer)) __attribute__((deprecated("This will be removed in future versions of the SDK. Use `init(samplingStrategy: .custom(sampleRate:))` instead.", "DDB3HTTPHeadersWriter")));
- [Export ("initWithSampleRate:injectEncoding:")]
- [DesignatedInitializer]
- NativeHandle Constructor (float sampleRate, DDInjectEncoding injectEncoding);
-
- // -(instancetype _Nonnull)initWithSamplingStrategy:(DDTraceSamplingStrategy * _Nonnull)samplingStrategy injectEncoding:(enum DDInjectEncoding)injectEncoding traceContextInjection:(enum DDTraceContextInjection)traceContextInjection __attribute__((objc_designated_initializer));
- [Export ("initWithSamplingStrategy:injectEncoding:traceContextInjection:")]
- [DesignatedInitializer]
- NativeHandle Constructor (DDTraceSamplingStrategy samplingStrategy, DDInjectEncoding injectEncoding, DDTraceContextInjection traceContextInjection);
- }
-
- // @interface DDRUM : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc5DDRUM")]
- interface DDRUM
- {
- // +(void)enableWith:(DDRUMConfiguration * _Nonnull)configuration;
- [Static]
- [Export ("enableWith:")]
- void EnableWith (DDRUMConfiguration configuration);
- }
-
- // @interface DDRUMAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc11DDRUMAction")]
- [DisableDefaultCtor]
- interface DDRUMAction
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull attributes;
- [Export ("attributes", ArgumentSemantic.Copy)]
- NSDictionary Attributes { get; }
-
- // -(instancetype _Nonnull)initWithName:(NSString * _Nonnull)name attributes:(NSDictionary * _Nonnull)attributes __attribute__((objc_designated_initializer));
- [Export ("initWithName:attributes:")]
- [DesignatedInitializer]
- NativeHandle Constructor (string name, NSDictionary attributes);
- }
-
- // @interface DDRUMActionEvent : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc16DDRUMActionEvent")]
- [DisableDefaultCtor]
- interface DDRUMActionEvent
- {
- // @property (readonly, nonatomic, strong) DDRUMActionEventDD * _Nonnull dd;
- [Export ("dd", ArgumentSemantic.Strong)]
- DDRUMActionEventDD Dd { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventAction * _Nonnull action;
- [Export ("action", ArgumentSemantic.Strong)]
- DDRUMActionEventAction Action { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventApplication * _Nonnull application;
- [Export ("application", ArgumentSemantic.Strong)]
- DDRUMActionEventApplication Application { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildId;
- [NullAllowed, Export ("buildId")]
- string BuildId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildVersion;
- [NullAllowed, Export ("buildVersion")]
- string BuildVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventRUMCITest * _Nullable ciTest;
- [NullAllowed, Export ("ciTest", ArgumentSemantic.Strong)]
- DDRUMActionEventRUMCITest CiTest { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventRUMConnectivity * _Nullable connectivity;
- [NullAllowed, Export ("connectivity", ArgumentSemantic.Strong)]
- DDRUMActionEventRUMConnectivity Connectivity { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventContainer * _Nullable container;
- [NullAllowed, Export ("container", ArgumentSemantic.Strong)]
- DDRUMActionEventContainer Container { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventRUMEventAttributes * _Nullable context;
- [NullAllowed, Export ("context", ArgumentSemantic.Strong)]
- DDRUMActionEventRUMEventAttributes Context { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull date;
- [Export ("date", ArgumentSemantic.Strong)]
- NSNumber Date { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventRUMDevice * _Nullable device;
- [NullAllowed, Export ("device", ArgumentSemantic.Strong)]
- DDRUMActionEventRUMDevice Device { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventDisplay * _Nullable display;
- [NullAllowed, Export ("display", ArgumentSemantic.Strong)]
- DDRUMActionEventDisplay Display { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventRUMOperatingSystem * _Nullable os;
- [NullAllowed, Export ("os", ArgumentSemantic.Strong)]
- DDRUMActionEventRUMOperatingSystem Os { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable service;
- [NullAllowed, Export ("service")]
- string Service { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventSession * _Nonnull session;
- [Export ("session", ArgumentSemantic.Strong)]
- DDRUMActionEventSession Session { get; }
-
- // @property (readonly, nonatomic) enum DDRUMActionEventSource source;
- [Export ("source")]
- DDRUMActionEventSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventRUMSyntheticsTest * _Nullable synthetics;
- [NullAllowed, Export ("synthetics", ArgumentSemantic.Strong)]
- DDRUMActionEventRUMSyntheticsTest Synthetics { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventRUMUser * _Nullable usr;
- [NullAllowed, Export ("usr", ArgumentSemantic.Strong)]
- DDRUMActionEventRUMUser Usr { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable version;
- [NullAllowed, Export ("version")]
- string Version { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMActionEventView View { get; }
-
- [Export ("account", ArgumentSemantic.Strong)]
- DDRUMActionEventRUMAccount Account { get; }
-
- [Export ("ddtags", ArgumentSemantic.Copy)]
- string Ddtags { get; }
- }
-
- // @interface DDRUMActionEventAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMActionEventAction")]
- [DisableDefaultCtor]
- interface DDRUMActionEventAction
- {
- // @property (readonly, nonatomic, strong) DDRUMActionEventActionCrash * _Nullable crash;
- [NullAllowed, Export ("crash", ArgumentSemantic.Strong)]
- DDRUMActionEventActionCrash Crash { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventActionError * _Nullable error;
- [NullAllowed, Export ("error", ArgumentSemantic.Strong)]
- DDRUMActionEventActionError Error { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventActionFrustration * _Nullable frustration;
- [NullAllowed, Export ("frustration", ArgumentSemantic.Strong)]
- DDRUMActionEventActionFrustration Frustration { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable loadingTime;
- [NullAllowed, Export ("loadingTime", ArgumentSemantic.Strong)]
- NSNumber LoadingTime { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventActionLongTask * _Nullable longTask;
- [NullAllowed, Export ("longTask", ArgumentSemantic.Strong)]
- DDRUMActionEventActionLongTask LongTask { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventActionResource * _Nullable resource;
- [NullAllowed, Export ("resource", ArgumentSemantic.Strong)]
- DDRUMActionEventActionResource Resource { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventActionTarget * _Nullable target;
- [NullAllowed, Export ("target", ArgumentSemantic.Strong)]
- DDRUMActionEventActionTarget Target { get; }
-
- // @property (readonly, nonatomic) enum DDRUMActionEventActionActionType type;
- [Export ("type")]
- DDRUMActionEventActionActionType Type { get; }
- }
-
- // @interface DDRUMActionEventActionCrash : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMActionEventActionCrash")]
- [DisableDefaultCtor]
- interface DDRUMActionEventActionCrash
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMActionEventActionError : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMActionEventActionError")]
- [DisableDefaultCtor]
- interface DDRUMActionEventActionError
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMActionEventActionFrustration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMActionEventActionFrustration")]
- [DisableDefaultCtor]
- interface DDRUMActionEventActionFrustration
- {
- // @property (readonly, copy, nonatomic) NSArray * _Nonnull type;
- [Export ("type", ArgumentSemantic.Copy)]
- NSNumber[] Type { get; }
- }
-
- // @interface DDRUMActionEventActionLongTask : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDRUMActionEventActionLongTask")]
- [DisableDefaultCtor]
- interface DDRUMActionEventActionLongTask
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMActionEventActionResource : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDRUMActionEventActionResource")]
- [DisableDefaultCtor]
- interface DDRUMActionEventActionResource
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMActionEventActionTarget : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc28DDRUMActionEventActionTarget")]
- [DisableDefaultCtor]
- interface DDRUMActionEventActionTarget
- {
- // @property (copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; set; }
- }
-
- // @interface DDRUMActionEventApplication : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMActionEventApplication")]
- [DisableDefaultCtor]
- interface DDRUMActionEventApplication
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- [Export ("currentLocale", ArgumentSemantic.Copy)]
- string CurrentLocale { get; }
- }
-
- // @interface DDRUMActionEventContainer : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMActionEventContainer")]
- [DisableDefaultCtor]
- interface DDRUMActionEventContainer
- {
- // @property (readonly, nonatomic) enum DDRUMActionEventContainerSource source;
- [Export ("source")]
- DDRUMActionEventContainerSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventContainerView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMActionEventContainerView View { get; }
- }
-
- // @interface DDRUMActionEventContainerView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMActionEventContainerView")]
- [DisableDefaultCtor]
- interface DDRUMActionEventContainerView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDRUMActionEventDD : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc18DDRUMActionEventDD")]
- [DisableDefaultCtor]
- interface DDRUMActionEventDD
- {
- // @property (readonly, nonatomic, strong) DDRUMActionEventDDAction * _Nullable action;
- [NullAllowed, Export ("action", ArgumentSemantic.Strong)]
- DDRUMActionEventDDAction Action { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable browserSdkVersion;
- [NullAllowed, Export ("browserSdkVersion")]
- string BrowserSdkVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventDDConfiguration * _Nullable configuration;
- [NullAllowed, Export ("configuration", ArgumentSemantic.Strong)]
- DDRUMActionEventDDConfiguration Configuration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull formatVersion;
- [Export ("formatVersion", ArgumentSemantic.Strong)]
- NSNumber FormatVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventDDSession * _Nullable session;
- [NullAllowed, Export ("session", ArgumentSemantic.Strong)]
- DDRUMActionEventDDSession Session { get; }
-
- [Export ("sdkName", ArgumentSemantic.Copy)]
- string SdkName { get; }
- }
-
- // @interface DDRUMActionEventDDAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMActionEventDDAction")]
- [DisableDefaultCtor]
- interface DDRUMActionEventDDAction
- {
- // @property (readonly, nonatomic, strong) DDRUMActionEventDDActionPosition * _Nullable position;
- [NullAllowed, Export ("position", ArgumentSemantic.Strong)]
- DDRUMActionEventDDActionPosition Position { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMActionEventDDActionTarget * _Nullable target;
- [NullAllowed, Export ("target", ArgumentSemantic.Strong)]
- DDRUMActionEventDDActionTarget Target { get; }
-
- [Export ("nameSource")]
- DDRUMActionEventDDActionNameSource NameSource { get; set; }
- }
-
- // @interface DDRUMActionEventDDActionPosition : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc32DDRUMActionEventDDActionPosition")]
- [DisableDefaultCtor]
- interface DDRUMActionEventDDActionPosition
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull x;
- [Export ("x", ArgumentSemantic.Strong)]
- NSNumber X { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull y;
- [Export ("y", ArgumentSemantic.Strong)]
- NSNumber Y { get; }
- }
-
- // @interface DDRUMActionEventDDActionTarget : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDRUMActionEventDDActionTarget")]
- [DisableDefaultCtor]
- interface DDRUMActionEventDDActionTarget
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable height;
- [NullAllowed, Export ("height", ArgumentSemantic.Strong)]
- NSNumber Height { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable selector;
- [NullAllowed, Export ("selector")]
- string TargetSelector { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable width;
- [NullAllowed, Export ("width", ArgumentSemantic.Strong)]
- NSNumber Width { get; }
- }
-
- // @interface DDRUMActionEventDDConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc31DDRUMActionEventDDConfiguration")]
- [DisableDefaultCtor]
- interface DDRUMActionEventDDConfiguration
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable sessionReplaySampleRate;
- [NullAllowed, Export ("sessionReplaySampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionReplaySampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull sessionSampleRate;
- [Export ("sessionSampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionSampleRate { get; }
-
- [Export ("profilingSampleRate", ArgumentSemantic.Strong)]
- NSNumber ProfilingSampleRate { get; }
- }
-
- // @interface DDRUMActionEventDDSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMActionEventDDSession")]
- [DisableDefaultCtor]
- interface DDRUMActionEventDDSession
- {
- // @property (readonly, nonatomic) enum DDRUMActionEventDDSessionPlan plan;
- [Export ("plan")]
- DDRUMActionEventDDSessionPlan Plan { get; }
-
- // @property (readonly, nonatomic) enum DDRUMActionEventDDSessionRUMSessionPrecondition sessionPrecondition;
- [Export ("sessionPrecondition")]
- DDRUMActionEventDDSessionRUMSessionPrecondition SessionPrecondition { get; }
- }
-
- // @interface DDRUMActionEventDisplay : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMActionEventDisplay")]
- [DisableDefaultCtor]
- interface DDRUMActionEventDisplay
- {
- // @property (readonly, nonatomic, strong) DDRUMActionEventDisplayViewport * _Nullable viewport;
- [NullAllowed, Export ("viewport", ArgumentSemantic.Strong)]
- DDRUMActionEventDisplayViewport Viewport { get; }
- }
-
- // @interface DDRUMActionEventDisplayViewport : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc31DDRUMActionEventDisplayViewport")]
- [DisableDefaultCtor]
- interface DDRUMActionEventDisplayViewport
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull height;
- [Export ("height", ArgumentSemantic.Strong)]
- NSNumber Height { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull width;
- [Export ("width", ArgumentSemantic.Strong)]
- NSNumber Width { get; }
- }
-
- // @interface DDRUMActionEventRUMCITest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMActionEventRUMCITest")]
- [DisableDefaultCtor]
- interface DDRUMActionEventRUMCITest
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testExecutionId;
- [Export ("testExecutionId")]
- string TestExecutionId { get; }
- }
-
- // @interface DDRUMActionEventRUMConnectivity : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc31DDRUMActionEventRUMConnectivity")]
- [DisableDefaultCtor]
- interface DDRUMActionEventRUMConnectivity
- {
- // @property (readonly, nonatomic, strong) DDRUMActionEventRUMConnectivityCellular * _Nullable cellular;
- [NullAllowed, Export ("cellular", ArgumentSemantic.Strong)]
- DDRUMActionEventRUMConnectivityCellular Cellular { get; }
-
- // @property (readonly, nonatomic) enum DDRUMActionEventRUMConnectivityEffectiveType effectiveType;
- [Export ("effectiveType")]
- DDRUMActionEventRUMConnectivityEffectiveType EffectiveType { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable interfaces;
- [NullAllowed, Export ("interfaces", ArgumentSemantic.Copy)]
- NSNumber[] Interfaces { get; }
-
- // @property (readonly, nonatomic) enum DDRUMActionEventRUMConnectivityStatus status;
- [Export ("status")]
- DDRUMActionEventRUMConnectivityStatus Status { get; }
- }
-
- // @interface DDRUMActionEventRUMConnectivityCellular : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc39DDRUMActionEventRUMConnectivityCellular")]
- [DisableDefaultCtor]
- interface DDRUMActionEventRUMConnectivityCellular
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable carrierName;
- [NullAllowed, Export ("carrierName")]
- string CarrierName { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable technology;
- [NullAllowed, Export ("technology")]
- string Technology { get; }
- }
-
- // @interface DDRUMActionEventRUMDevice : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMActionEventRUMDevice")]
- [DisableDefaultCtor]
- interface DDRUMActionEventRUMDevice
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable architecture;
- [NullAllowed, Export ("architecture")]
- string Architecture { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable brand;
- [NullAllowed, Export ("brand")]
- string Brand { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable model;
- [NullAllowed, Export ("model")]
- string Model { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, nonatomic) enum DDRUMActionEventRUMDeviceRUMDeviceType type;
- [Export ("type")]
- DDRUMActionEventRUMDeviceRUMDeviceType Type { get; }
-
- [Export ("batteryLevel", ArgumentSemantic.Strong)]
- NSNumber BatteryLevel { get; }
-
- [Export ("brightnessLevel", ArgumentSemantic.Strong)]
- NSNumber BrightnessLevel { get; }
-
- [Export ("locale", ArgumentSemantic.Copy)]
- string Locale { get; }
-
- [Export ("locales", ArgumentSemantic.Copy)]
- string[] Locales { get; }
-
- [Export ("powerSavingMode", ArgumentSemantic.Strong)]
- NSNumber PowerSavingMode { get; }
-
- [Export ("timeZone", ArgumentSemantic.Copy)]
- string TimeZone { get; }
- }
-
- // @interface DDRUMActionEventRUMEventAttributes : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc34DDRUMActionEventRUMEventAttributes")]
- [DisableDefaultCtor]
- interface DDRUMActionEventRUMEventAttributes
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull contextInfo;
- [Export ("contextInfo", ArgumentSemantic.Copy)]
- NSDictionary ContextInfo { get; }
- }
-
- // @interface DDRUMActionEventRUMOperatingSystem : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc34DDRUMActionEventRUMOperatingSystem")]
- [DisableDefaultCtor]
- interface DDRUMActionEventRUMOperatingSystem
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable build;
- [NullAllowed, Export ("build")]
- string Build { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull version;
- [Export ("version")]
- string Version { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull versionMajor;
- [Export ("versionMajor")]
- string VersionMajor { get; }
- }
-
- // @interface DDRUMActionEventRUMSyntheticsTest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMActionEventRUMSyntheticsTest")]
- [DisableDefaultCtor]
- interface DDRUMActionEventRUMSyntheticsTest
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable injected;
- [NullAllowed, Export ("injected", ArgumentSemantic.Strong)]
- NSNumber Injected { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull resultId;
- [Export ("resultId")]
- string ResultId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testId;
- [Export ("testId")]
- string TestId { get; }
- }
-
- // @interface DDRUMActionEventRUMUser : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMActionEventRUMUser")]
- [DisableDefaultCtor]
- interface DDRUMActionEventRUMUser
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable email;
- [NullAllowed, Export ("email")]
- string Email { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull usrInfo;
- [Export ("usrInfo", ArgumentSemantic.Copy)]
- NSDictionary UsrInfo { get; }
-
- [Export ("anonymousId", ArgumentSemantic.Copy)]
- string AnonymousId { get; }
- }
-
- // @interface DDRUMActionEventSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMActionEventSession")]
- [DisableDefaultCtor]
- interface DDRUMActionEventSession
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable hasReplay;
- [NullAllowed, Export ("hasReplay", ArgumentSemantic.Strong)]
- NSNumber HasReplay { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic) enum DDRUMActionEventSessionRUMSessionType type;
- [Export ("type")]
- DDRUMActionEventSessionRUMSessionType Type { get; }
- }
-
- // @interface DDRUMActionEventView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc20DDRUMActionEventView")]
- [DisableDefaultCtor]
- interface DDRUMActionEventView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable inForeground;
- [NullAllowed, Export ("inForeground", ArgumentSemantic.Strong)]
- NSNumber InForeground { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable referrer;
- [NullAllowed, Export ("referrer")]
- string Referrer { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nonnull url;
- [Export ("url")]
- string Url { get; set; }
- }
-
- // @interface DDRUMConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc18DDRUMConfiguration")]
- [DisableDefaultCtor]
- interface DDRUMConfiguration
- {
- // -(instancetype _Nonnull)initWithApplicationID:(NSString * _Nonnull)applicationID __attribute__((objc_designated_initializer));
- [Export ("initWithApplicationID:")]
- [DesignatedInitializer]
- NativeHandle Constructor (string applicationID);
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull applicationID;
- [Export ("applicationID")]
- string ApplicationID { get; }
-
- // @property (nonatomic) float sessionSampleRate;
- [Export ("sessionSampleRate")]
- float SessionSampleRate { get; set; }
-
- // @property (nonatomic) float telemetrySampleRate;
- [Export ("telemetrySampleRate")]
- float TelemetrySampleRate { get; set; }
-
- // @property (nonatomic, strong) id _Nullable uiKitViewsPredicate;
- [NullAllowed, Export ("uiKitViewsPredicate", ArgumentSemantic.Strong)]
- IDDUIKitRUMViewsPredicate UiKitViewsPredicate { get; set; }
-
- // @property (nonatomic, strong) id _Nullable uiKitActionsPredicate;
- [NullAllowed, Export ("uiKitActionsPredicate", ArgumentSemantic.Strong)]
- IDDUIKitRUMActionsPredicate UiKitActionsPredicate { get; set; }
-
- // -(void)setURLSessionTracking:(DDRUMURLSessionTracking * _Nonnull)tracking;
- [Export ("setURLSessionTracking:")]
- void SetURLSessionTracking (DDRUMURLSessionTracking tracking);
-
- // @property (nonatomic) BOOL trackFrustrations;
- [Export ("trackFrustrations")]
- bool TrackFrustrations { get; set; }
-
- // @property (nonatomic) BOOL trackBackgroundEvents;
- [Export ("trackBackgroundEvents")]
- bool TrackBackgroundEvents { get; set; }
-
- // @property (nonatomic) BOOL trackWatchdogTerminations;
- [Export ("trackWatchdogTerminations")]
- bool TrackWatchdogTerminations { get; set; }
-
- // @property (nonatomic) NSTimeInterval longTaskThreshold;
- [Export ("longTaskThreshold")]
- double LongTaskThreshold { get; set; }
-
- // @property (nonatomic) NSTimeInterval appHangThreshold;
- [Export ("appHangThreshold")]
- double AppHangThreshold { get; set; }
-
- // @property (nonatomic) enum DDRUMVitalsFrequency vitalsUpdateFrequency;
- [Export ("vitalsUpdateFrequency", ArgumentSemantic.Assign)]
- DDRUMVitalsFrequency VitalsUpdateFrequency { get; set; }
-
- // -(void)setViewEventMapper:(DDRUMViewEvent * _Nonnull (^ _Nonnull)(DDRUMViewEvent * _Nonnull))mapper;
- [Export ("setViewEventMapper:")]
- void SetViewEventMapper (Func mapper);
-
- // -(void)setResourceEventMapper:(DDRUMResourceEvent * _Nullable (^ _Nonnull)(DDRUMResourceEvent * _Nonnull))mapper;
- [Export ("setResourceEventMapper:")]
- void SetResourceEventMapper (Func mapper);
-
- // -(void)setActionEventMapper:(DDRUMActionEvent * _Nullable (^ _Nonnull)(DDRUMActionEvent * _Nonnull))mapper;
- [Export ("setActionEventMapper:")]
- void SetActionEventMapper (Func mapper);
-
- // -(void)setErrorEventMapper:(DDRUMErrorEvent * _Nullable (^ _Nonnull)(DDRUMErrorEvent * _Nonnull))mapper;
- [Export ("setErrorEventMapper:")]
- void SetErrorEventMapper (Func mapper);
-
- // -(void)setLongTaskEventMapper:(DDRUMLongTaskEvent * _Nullable (^ _Nonnull)(DDRUMLongTaskEvent * _Nonnull))mapper;
- [Export ("setLongTaskEventMapper:")]
- void SetLongTaskEventMapper (Func mapper);
-
- // @property (copy, nonatomic) void (^ _Nullable)(NSString * _Nonnull, BOOL) onSessionStart;
- [NullAllowed, Export ("onSessionStart", ArgumentSemantic.Copy)]
- Action OnSessionStart { get; set; }
-
- // @property (copy, nonatomic) NSURL * _Nullable customEndpoint;
- [NullAllowed, Export ("customEndpoint", ArgumentSemantic.Copy)]
- NSUrl CustomEndpoint { get; set; }
-
- [Export ("swiftUIViewsPredicate", ArgumentSemantic.Strong)]
- IDDSwiftUIRUMViewsPredicate SwiftUIViewsPredicate { get; set; }
-
- [Export ("swiftUIActionsPredicate", ArgumentSemantic.Strong)]
- IDDSwiftUIRUMActionsPredicate SwiftUIActionsPredicate { get; set; }
-
- [Export ("trackAnonymousUser")]
- bool TrackAnonymousUser { get; set; }
- }
-
- // @interface DDRUMErrorEvent : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc15DDRUMErrorEvent")]
- [DisableDefaultCtor]
- interface DDRUMErrorEvent
- {
- // @property (readonly, nonatomic, strong) DDRUMErrorEventDD * _Nonnull dd;
- [Export ("dd", ArgumentSemantic.Strong)]
- DDRUMErrorEventDD Dd { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventAction * _Nullable action;
- [NullAllowed, Export ("action", ArgumentSemantic.Strong)]
- DDRUMErrorEventAction Action { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventApplication * _Nonnull application;
- [Export ("application", ArgumentSemantic.Strong)]
- DDRUMErrorEventApplication Application { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildId;
- [NullAllowed, Export ("buildId")]
- string BuildId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildVersion;
- [NullAllowed, Export ("buildVersion")]
- string BuildVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventRUMCITest * _Nullable ciTest;
- [NullAllowed, Export ("ciTest", ArgumentSemantic.Strong)]
- DDRUMErrorEventRUMCITest CiTest { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventRUMConnectivity * _Nullable connectivity;
- [NullAllowed, Export ("connectivity", ArgumentSemantic.Strong)]
- DDRUMErrorEventRUMConnectivity Connectivity { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventContainer * _Nullable container;
- [NullAllowed, Export ("container", ArgumentSemantic.Strong)]
- DDRUMErrorEventContainer Container { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventRUMEventAttributes * _Nullable context;
- [NullAllowed, Export ("context", ArgumentSemantic.Strong)]
- DDRUMErrorEventRUMEventAttributes Context { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull date;
- [Export ("date", ArgumentSemantic.Strong)]
- NSNumber Date { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventRUMDevice * _Nullable device;
- [NullAllowed, Export ("device", ArgumentSemantic.Strong)]
- DDRUMErrorEventRUMDevice Device { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventDisplay * _Nullable display;
- [NullAllowed, Export ("display", ArgumentSemantic.Strong)]
- DDRUMErrorEventDisplay Display { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventError * _Nonnull error;
- [Export ("error", ArgumentSemantic.Strong)]
- DDRUMErrorEventError Error { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventFeatureFlags * _Nullable featureFlags;
- [NullAllowed, Export ("featureFlags", ArgumentSemantic.Strong)]
- DDRUMErrorEventFeatureFlags FeatureFlags { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventFreeze * _Nullable freeze;
- [NullAllowed, Export ("freeze", ArgumentSemantic.Strong)]
- DDRUMErrorEventFreeze Freeze { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventRUMOperatingSystem * _Nullable os;
- [NullAllowed, Export ("os", ArgumentSemantic.Strong)]
- DDRUMErrorEventRUMOperatingSystem Os { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable service;
- [NullAllowed, Export ("service")]
- string Service { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventSession * _Nonnull session;
- [Export ("session", ArgumentSemantic.Strong)]
- DDRUMErrorEventSession Session { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventSource source;
- [Export ("source")]
- DDRUMErrorEventSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventRUMSyntheticsTest * _Nullable synthetics;
- [NullAllowed, Export ("synthetics", ArgumentSemantic.Strong)]
- DDRUMErrorEventRUMSyntheticsTest Synthetics { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventRUMUser * _Nullable usr;
- [NullAllowed, Export ("usr", ArgumentSemantic.Strong)]
- DDRUMErrorEventRUMUser Usr { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable version;
- [NullAllowed, Export ("version")]
- string Version { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMErrorEventView View { get; }
-
- [Export ("account", ArgumentSemantic.Strong)]
- DDRUMErrorEventRUMAccount Account { get; }
-
- [Export ("ddtags", ArgumentSemantic.Copy)]
- string Ddtags { get; }
- }
-
- // @interface DDRUMErrorEventAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDRUMErrorEventAction")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventAction
- {
- // @property (readonly, nonatomic, strong) DDRUMErrorEventActionRUMActionID * _Nonnull id;
- [Export ("id", ArgumentSemantic.Strong)]
- DDRUMErrorEventActionRUMActionID Id { get; }
- }
-
- // @interface DDRUMErrorEventActionRUMActionID : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc32DDRUMErrorEventActionRUMActionID")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventActionRUMActionID
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable string;
- [NullAllowed, Export ("string")]
- string String { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable stringsArray;
- [NullAllowed, Export ("stringsArray", ArgumentSemantic.Copy)]
- string[] StringsArray { get; }
- }
-
- // @interface DDRUMErrorEventApplication : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc26DDRUMErrorEventApplication")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventApplication
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- [Export ("currentLocale", ArgumentSemantic.Copy)]
- string CurrentLocale { get; }
- }
-
- // @interface DDRUMErrorEventContainer : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMErrorEventContainer")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventContainer
- {
- // @property (readonly, nonatomic) enum DDRUMErrorEventContainerSource source;
- [Export ("source")]
- DDRUMErrorEventContainerSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventContainerView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMErrorEventContainerView View { get; }
- }
-
- // @interface DDRUMErrorEventContainerView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc28DDRUMErrorEventContainerView")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventContainerView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDRUMErrorEventDD : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc17DDRUMErrorEventDD")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventDD
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable browserSdkVersion;
- [NullAllowed, Export ("browserSdkVersion")]
- string BrowserSdkVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventDDConfiguration * _Nullable configuration;
- [NullAllowed, Export ("configuration", ArgumentSemantic.Strong)]
- DDRUMErrorEventDDConfiguration Configuration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull formatVersion;
- [Export ("formatVersion", ArgumentSemantic.Strong)]
- NSNumber FormatVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventDDSession * _Nullable session;
- [NullAllowed, Export ("session", ArgumentSemantic.Strong)]
- DDRUMErrorEventDDSession Session { get; }
-
- [Export ("sdkName", ArgumentSemantic.Copy)]
- string SdkName { get; }
- }
-
- // @interface DDRUMErrorEventDDConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDRUMErrorEventDDConfiguration")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventDDConfiguration
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable sessionReplaySampleRate;
- [NullAllowed, Export ("sessionReplaySampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionReplaySampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull sessionSampleRate;
- [Export ("sessionSampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionSampleRate { get; }
-
- [Export ("profilingSampleRate", ArgumentSemantic.Strong)]
- NSNumber ProfilingSampleRate { get; }
- }
-
- // @interface DDRUMErrorEventDDSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMErrorEventDDSession")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventDDSession
- {
- // @property (readonly, nonatomic) enum DDRUMErrorEventDDSessionPlan plan;
- [Export ("plan")]
- DDRUMErrorEventDDSessionPlan Plan { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventDDSessionRUMSessionPrecondition sessionPrecondition;
- [Export ("sessionPrecondition")]
- DDRUMErrorEventDDSessionRUMSessionPrecondition SessionPrecondition { get; }
- }
-
- // @interface DDRUMErrorEventDisplay : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMErrorEventDisplay")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventDisplay
- {
- // @property (readonly, nonatomic, strong) DDRUMErrorEventDisplayViewport * _Nullable viewport;
- [NullAllowed, Export ("viewport", ArgumentSemantic.Strong)]
- DDRUMErrorEventDisplayViewport Viewport { get; }
- }
-
- // @interface DDRUMErrorEventDisplayViewport : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDRUMErrorEventDisplayViewport")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventDisplayViewport
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull height;
- [Export ("height", ArgumentSemantic.Strong)]
- NSNumber Height { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull width;
- [Export ("width", ArgumentSemantic.Strong)]
- NSNumber Width { get; }
- }
-
- // @interface DDRUMErrorEventError : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc20DDRUMErrorEventError")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventError
- {
- // @property (readonly, copy, nonatomic) NSArray * _Nullable binaryImages;
- [NullAllowed, Export ("binaryImages", ArgumentSemantic.Copy)]
- DDRUMErrorEventErrorBinaryImages[] BinaryImages { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventErrorCategory category;
- [Export ("category")]
- DDRUMErrorEventErrorCategory Category { get; }
-
- // @property (copy, nonatomic) NSArray * _Nullable causes;
- [NullAllowed, Export ("causes", ArgumentSemantic.Copy)]
- DDRUMErrorEventErrorCauses[] Causes { get; set; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventErrorCSP * _Nullable csp;
- [NullAllowed, Export ("csp", ArgumentSemantic.Strong)]
- DDRUMErrorEventErrorCSP Csp { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable fingerprint;
- [NullAllowed, Export ("fingerprint")]
- string Fingerprint { get; set; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventErrorHandling handling;
- [Export ("handling")]
- DDRUMErrorEventErrorHandling Handling { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable handlingStack;
- [NullAllowed, Export ("handlingStack")]
- string HandlingStack { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable isCrash;
- [NullAllowed, Export ("isCrash", ArgumentSemantic.Strong)]
- NSNumber IsCrash { get; }
-
- // @property (copy, nonatomic) NSString * _Nonnull message;
- [Export ("message")]
- string Message { get; set; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventErrorMeta * _Nullable meta;
- [NullAllowed, Export ("meta", ArgumentSemantic.Strong)]
- DDRUMErrorEventErrorMeta Meta { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventErrorResource * _Nullable resource;
- [NullAllowed, Export ("resource", ArgumentSemantic.Strong)]
- DDRUMErrorEventErrorResource Resource { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventErrorSource source;
- [Export ("source")]
- DDRUMErrorEventErrorSource Source { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventErrorSourceType sourceType;
- [Export ("sourceType")]
- DDRUMErrorEventErrorSourceType SourceType { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable stack;
- [NullAllowed, Export ("stack")]
- string Stack { get; set; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable threads;
- [NullAllowed, Export ("threads", ArgumentSemantic.Copy)]
- DDRUMErrorEventErrorThreads[] Threads { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable timeSinceAppStart;
- [NullAllowed, Export ("timeSinceAppStart", ArgumentSemantic.Strong)]
- NSNumber TimeSinceAppStart { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable type;
- [NullAllowed, Export ("type")]
- string Type { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable wasTruncated;
- [NullAllowed, Export ("wasTruncated", ArgumentSemantic.Strong)]
- NSNumber WasTruncated { get; }
- }
-
- // @interface DDRUMErrorEventErrorBinaryImages : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc32DDRUMErrorEventErrorBinaryImages")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventErrorBinaryImages
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable arch;
- [NullAllowed, Export ("arch")]
- string Arch { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull isSystem;
- [Export ("isSystem", ArgumentSemantic.Strong)]
- NSNumber IsSystem { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable loadAddress;
- [NullAllowed, Export ("loadAddress")]
- string LoadAddress { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable maxAddress;
- [NullAllowed, Export ("maxAddress")]
- string MaxAddress { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull uuid;
- [Export ("uuid")]
- string Uuid { get; }
- }
-
- // @interface DDRUMErrorEventErrorCSP : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMErrorEventErrorCSP")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventErrorCSP
- {
- // @property (readonly, nonatomic) enum DDRUMErrorEventErrorCSPDisposition disposition;
- [Export ("disposition")]
- DDRUMErrorEventErrorCSPDisposition Disposition { get; }
- }
-
- // @interface DDRUMErrorEventErrorCauses : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc26DDRUMErrorEventErrorCauses")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventErrorCauses
- {
- // @property (copy, nonatomic) NSString * _Nonnull message;
- [Export ("message")]
- string Message { get; set; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventErrorCausesSource source;
- [Export ("source")]
- DDRUMErrorEventErrorCausesSource Source { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable stack;
- [NullAllowed, Export ("stack")]
- string Stack { get; set; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable type;
- [NullAllowed, Export ("type")]
- string Type { get; }
- }
-
- // @interface DDRUMErrorEventErrorMeta : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMErrorEventErrorMeta")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventErrorMeta
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable codeType;
- [NullAllowed, Export ("codeType")]
- string CodeType { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable exceptionCodes;
- [NullAllowed, Export ("exceptionCodes")]
- string ExceptionCodes { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable exceptionType;
- [NullAllowed, Export ("exceptionType")]
- string ExceptionType { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable incidentIdentifier;
- [NullAllowed, Export ("incidentIdentifier")]
- string IncidentIdentifier { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable parentProcess;
- [NullAllowed, Export ("parentProcess")]
- string ParentProcess { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable path;
- [NullAllowed, Export ("path")]
- string Path { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable process;
- [NullAllowed, Export ("process")]
- string Process { get; }
- }
-
- // @interface DDRUMErrorEventErrorResource : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc28DDRUMErrorEventErrorResource")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventErrorResource
- {
- // @property (readonly, nonatomic) enum DDRUMErrorEventErrorResourceRUMMethod method;
- [Export ("method")]
- DDRUMErrorEventErrorResourceRUMMethod Method { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMErrorEventErrorResourceProvider * _Nullable provider;
- [NullAllowed, Export ("provider", ArgumentSemantic.Strong)]
- DDRUMErrorEventErrorResourceProvider Provider { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull statusCode;
- [Export ("statusCode", ArgumentSemantic.Strong)]
- NSNumber StatusCode { get; }
-
- // @property (copy, nonatomic) NSString * _Nonnull url;
- [Export ("url")]
- string Url { get; set; }
- }
-
- // @interface DDRUMErrorEventErrorResourceProvider : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc36DDRUMErrorEventErrorResourceProvider")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventErrorResourceProvider
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable domain;
- [NullAllowed, Export ("domain")]
- string Domain { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventErrorResourceProviderProviderType type;
- [Export ("type")]
- DDRUMErrorEventErrorResourceProviderProviderType Type { get; }
- }
-
- // @interface DDRUMErrorEventErrorThreads : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMErrorEventErrorThreads")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventErrorThreads
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull crashed;
- [Export ("crashed", ArgumentSemantic.Strong)]
- NSNumber Crashed { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull stack;
- [Export ("stack")]
- string Stack { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable state;
- [NullAllowed, Export ("state")]
- string State { get; }
- }
-
- // @interface DDRUMErrorEventFeatureFlags : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMErrorEventFeatureFlags")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventFeatureFlags
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull featureFlagsInfo;
- [Export ("featureFlagsInfo", ArgumentSemantic.Copy)]
- NSDictionary FeatureFlagsInfo { get; }
- }
-
- // @interface DDRUMErrorEventFreeze : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDRUMErrorEventFreeze")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventFreeze
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull duration;
- [Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
- }
-
- // @interface DDRUMErrorEventRUMCITest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMErrorEventRUMCITest")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventRUMCITest
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testExecutionId;
- [Export ("testExecutionId")]
- string TestExecutionId { get; }
- }
-
- // @interface DDRUMErrorEventRUMConnectivity : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDRUMErrorEventRUMConnectivity")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventRUMConnectivity
- {
- // @property (readonly, nonatomic, strong) DDRUMErrorEventRUMConnectivityCellular * _Nullable cellular;
- [NullAllowed, Export ("cellular", ArgumentSemantic.Strong)]
- DDRUMErrorEventRUMConnectivityCellular Cellular { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventRUMConnectivityEffectiveType effectiveType;
- [Export ("effectiveType")]
- DDRUMErrorEventRUMConnectivityEffectiveType EffectiveType { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable interfaces;
- [NullAllowed, Export ("interfaces", ArgumentSemantic.Copy)]
- NSNumber[] Interfaces { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventRUMConnectivityStatus status;
- [Export ("status")]
- DDRUMErrorEventRUMConnectivityStatus Status { get; }
- }
-
- // @interface DDRUMErrorEventRUMConnectivityCellular : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc38DDRUMErrorEventRUMConnectivityCellular")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventRUMConnectivityCellular
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable carrierName;
- [NullAllowed, Export ("carrierName")]
- string CarrierName { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable technology;
- [NullAllowed, Export ("technology")]
- string Technology { get; }
- }
-
- // @interface DDRUMErrorEventRUMDevice : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMErrorEventRUMDevice")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventRUMDevice
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable architecture;
- [NullAllowed, Export ("architecture")]
- string Architecture { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable brand;
- [NullAllowed, Export ("brand")]
- string Brand { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable model;
- [NullAllowed, Export ("model")]
- string Model { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventRUMDeviceRUMDeviceType type;
- [Export ("type")]
- DDRUMErrorEventRUMDeviceRUMDeviceType Type { get; }
-
- [Export ("batteryLevel", ArgumentSemantic.Strong)]
- NSNumber BatteryLevel { get; }
-
- [Export ("brightnessLevel", ArgumentSemantic.Strong)]
- NSNumber BrightnessLevel { get; }
-
- [Export ("locale", ArgumentSemantic.Copy)]
- string Locale { get; }
-
- [Export ("locales", ArgumentSemantic.Copy)]
- string[] Locales { get; }
-
- [Export ("powerSavingMode", ArgumentSemantic.Strong)]
- NSNumber PowerSavingMode { get; }
-
- [Export ("timeZone", ArgumentSemantic.Copy)]
- string TimeZone { get; }
- }
-
- // @interface DDRUMErrorEventRUMEventAttributes : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMErrorEventRUMEventAttributes")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventRUMEventAttributes
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull contextInfo;
- [Export ("contextInfo", ArgumentSemantic.Copy)]
- NSDictionary ContextInfo { get; }
- }
-
- // @interface DDRUMErrorEventRUMOperatingSystem : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMErrorEventRUMOperatingSystem")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventRUMOperatingSystem
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable build;
- [NullAllowed, Export ("build")]
- string Build { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull version;
- [Export ("version")]
- string Version { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull versionMajor;
- [Export ("versionMajor")]
- string VersionMajor { get; }
- }
-
- // @interface DDRUMErrorEventRUMSyntheticsTest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc32DDRUMErrorEventRUMSyntheticsTest")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventRUMSyntheticsTest
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable injected;
- [NullAllowed, Export ("injected", ArgumentSemantic.Strong)]
- NSNumber Injected { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull resultId;
- [Export ("resultId")]
- string ResultId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testId;
- [Export ("testId")]
- string TestId { get; }
- }
-
- // @interface DDRUMErrorEventRUMUser : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMErrorEventRUMUser")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventRUMUser
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable email;
- [NullAllowed, Export ("email")]
- string Email { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull usrInfo;
- [Export ("usrInfo", ArgumentSemantic.Copy)]
- NSDictionary UsrInfo { get; }
-
- [Export ("anonymousId", ArgumentSemantic.Copy)]
- string AnonymousId { get; }
- }
-
- // @interface DDRUMErrorEventSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMErrorEventSession")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventSession
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable hasReplay;
- [NullAllowed, Export ("hasReplay", ArgumentSemantic.Strong)]
- NSNumber HasReplay { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic) enum DDRUMErrorEventSessionRUMSessionType type;
- [Export ("type")]
- DDRUMErrorEventSessionRUMSessionType Type { get; }
- }
-
- // @interface DDRUMErrorEventView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc19DDRUMErrorEventView")]
- [DisableDefaultCtor]
- interface DDRUMErrorEventView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable inForeground;
- [NullAllowed, Export ("inForeground", ArgumentSemantic.Strong)]
- NSNumber InForeground { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable referrer;
- [NullAllowed, Export ("referrer")]
- string Referrer { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nonnull url;
- [Export ("url")]
- string Url { get; set; }
- }
-
- // @interface DDRUMFirstPartyHostsTracing : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMFirstPartyHostsTracing")]
- [DisableDefaultCtor]
- interface DDRUMFirstPartyHostsTracing
- {
- // -(instancetype _Nonnull)initWithHostsWithHeaderTypes:(NSDictionary *> * _Nonnull)hostsWithHeaderTypes __attribute__((objc_designated_initializer));
- [Export ("initWithHostsWithHeaderTypes:")]
- [DesignatedInitializer]
- NativeHandle Constructor (NSDictionary> hostsWithHeaderTypes);
-
- // -(instancetype _Nonnull)initWithHostsWithHeaderTypes:(NSDictionary *> * _Nonnull)hostsWithHeaderTypes sampleRate:(float)sampleRate __attribute__((objc_designated_initializer));
- [Export ("initWithHostsWithHeaderTypes:sampleRate:")]
- [DesignatedInitializer]
- NativeHandle Constructor (NSDictionary> hostsWithHeaderTypes, float sampleRate);
-
- // -(instancetype _Nonnull)initWithHosts:(NSSet * _Nonnull)hosts __attribute__((objc_designated_initializer));
- [Export ("initWithHosts:")]
- [DesignatedInitializer]
- NativeHandle Constructor (NSSet hosts);
-
- // -(instancetype _Nonnull)initWithHosts:(NSSet * _Nonnull)hosts sampleRate:(float)sampleRate __attribute__((objc_designated_initializer));
- [Export ("initWithHosts:sampleRate:")]
- [DesignatedInitializer]
- NativeHandle Constructor (NSSet hosts, float sampleRate);
- }
-
- // @interface DDRUMLongTaskEvent : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc18DDRUMLongTaskEvent")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEvent
- {
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventDD * _Nonnull dd;
- [Export ("dd", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventDD Dd { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventAction * _Nullable action;
- [NullAllowed, Export ("action", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventAction Action { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventApplication * _Nonnull application;
- [Export ("application", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventApplication Application { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildId;
- [NullAllowed, Export ("buildId")]
- string BuildId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildVersion;
- [NullAllowed, Export ("buildVersion")]
- string BuildVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventRUMCITest * _Nullable ciTest;
- [NullAllowed, Export ("ciTest", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventRUMCITest CiTest { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventRUMConnectivity * _Nullable connectivity;
- [NullAllowed, Export ("connectivity", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventRUMConnectivity Connectivity { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventContainer * _Nullable container;
- [NullAllowed, Export ("container", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventContainer Container { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventRUMEventAttributes * _Nullable context;
- [NullAllowed, Export ("context", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventRUMEventAttributes Context { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull date;
- [Export ("date", ArgumentSemantic.Strong)]
- NSNumber Date { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventRUMDevice * _Nullable device;
- [NullAllowed, Export ("device", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventRUMDevice Device { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventDisplay * _Nullable display;
- [NullAllowed, Export ("display", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventDisplay Display { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventLongTask * _Nonnull longTask;
- [Export ("longTask", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventLongTask LongTask { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventRUMOperatingSystem * _Nullable os;
- [NullAllowed, Export ("os", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventRUMOperatingSystem Os { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable service;
- [NullAllowed, Export ("service")]
- string Service { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventSession * _Nonnull session;
- [Export ("session", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventSession Session { get; }
-
- // @property (readonly, nonatomic) enum DDRUMLongTaskEventSource source;
- [Export ("source")]
- DDRUMLongTaskEventSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventRUMSyntheticsTest * _Nullable synthetics;
- [NullAllowed, Export ("synthetics", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventRUMSyntheticsTest Synthetics { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventRUMUser * _Nullable usr;
- [NullAllowed, Export ("usr", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventRUMUser Usr { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable version;
- [NullAllowed, Export ("version")]
- string Version { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventView View { get; }
-
- [Export ("account", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventRUMAccount Account { get; }
-
- [Export ("ddtags", ArgumentSemantic.Copy)]
- string Ddtags { get; }
- }
-
- // @interface DDRUMLongTaskEventAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMLongTaskEventAction")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventAction
- {
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventActionRUMActionID * _Nonnull id;
- [Export ("id", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventActionRUMActionID Id { get; }
- }
-
- // @interface DDRUMLongTaskEventActionRUMActionID : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc35DDRUMLongTaskEventActionRUMActionID")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventActionRUMActionID
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable string;
- [NullAllowed, Export ("string")]
- string String { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable stringsArray;
- [NullAllowed, Export ("stringsArray", ArgumentSemantic.Copy)]
- string[] StringsArray { get; }
- }
-
- // @interface DDRUMLongTaskEventApplication : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMLongTaskEventApplication")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventApplication
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- [Export ("currentLocale", ArgumentSemantic.Copy)]
- string CurrentLocale { get; }
- }
-
- // @interface DDRUMLongTaskEventContainer : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMLongTaskEventContainer")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventContainer
- {
- // @property (readonly, nonatomic) enum DDRUMLongTaskEventContainerSource source;
- [Export ("source")]
- DDRUMLongTaskEventContainerSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventContainerView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventContainerView View { get; }
- }
-
- // @interface DDRUMLongTaskEventContainerView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc31DDRUMLongTaskEventContainerView")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventContainerView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDRUMLongTaskEventDD : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc20DDRUMLongTaskEventDD")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventDD
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable browserSdkVersion;
- [NullAllowed, Export ("browserSdkVersion")]
- string BrowserSdkVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventDDConfiguration * _Nullable configuration;
- [NullAllowed, Export ("configuration", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventDDConfiguration Configuration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable discarded;
- [NullAllowed, Export ("discarded", ArgumentSemantic.Strong)]
- NSNumber Discarded { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull formatVersion;
- [Export ("formatVersion", ArgumentSemantic.Strong)]
- NSNumber FormatVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventDDSession * _Nullable session;
- [NullAllowed, Export ("session", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventDDSession Session { get; }
-
- [Export ("profiling", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventDDProfiling Profiling { get; }
-
- [Export ("sdkName", ArgumentSemantic.Copy)]
- string SdkName { get; }
- }
-
- // @interface DDRUMLongTaskEventDDConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMLongTaskEventDDConfiguration")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventDDConfiguration
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable sessionReplaySampleRate;
- [NullAllowed, Export ("sessionReplaySampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionReplaySampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull sessionSampleRate;
- [Export ("sessionSampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionSampleRate { get; }
-
- [Export ("profilingSampleRate", ArgumentSemantic.Strong)]
- NSNumber ProfilingSampleRate { get; }
- }
-
- // @interface DDRUMLongTaskEventDDSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMLongTaskEventDDSession")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventDDSession
- {
- // @property (readonly, nonatomic) enum DDRUMLongTaskEventDDSessionPlan plan;
- [Export ("plan")]
- DDRUMLongTaskEventDDSessionPlan Plan { get; }
-
- // @property (readonly, nonatomic) enum DDRUMLongTaskEventDDSessionRUMSessionPrecondition sessionPrecondition;
- [Export ("sessionPrecondition")]
- DDRUMLongTaskEventDDSessionRUMSessionPrecondition SessionPrecondition { get; }
- }
-
- // @interface DDRUMLongTaskEventDisplay : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMLongTaskEventDisplay")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventDisplay
- {
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventDisplayViewport * _Nullable viewport;
- [NullAllowed, Export ("viewport", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventDisplayViewport Viewport { get; }
- }
-
- // @interface DDRUMLongTaskEventDisplayViewport : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMLongTaskEventDisplayViewport")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventDisplayViewport
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull height;
- [Export ("height", ArgumentSemantic.Strong)]
- NSNumber Height { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull width;
- [Export ("width", ArgumentSemantic.Strong)]
- NSNumber Width { get; }
- }
-
- // @interface DDRUMLongTaskEventLongTask : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc26DDRUMLongTaskEventLongTask")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventLongTask
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull duration;
- [Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable isFrozenFrame;
- [NullAllowed, Export ("isFrozenFrame", ArgumentSemantic.Strong)]
- NSNumber IsFrozenFrame { get; }
-
- [Export ("startTime", ArgumentSemantic.Strong)]
- NSNumber StartTime { get; }
- }
-
- // @interface DDRUMLongTaskEventRUMCITest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMLongTaskEventRUMCITest")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventRUMCITest
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testExecutionId;
- [Export ("testExecutionId")]
- string TestExecutionId { get; }
- }
-
- // @interface DDRUMLongTaskEventRUMConnectivity : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMLongTaskEventRUMConnectivity")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventRUMConnectivity
- {
- // @property (readonly, nonatomic, strong) DDRUMLongTaskEventRUMConnectivityCellular * _Nullable cellular;
- [NullAllowed, Export ("cellular", ArgumentSemantic.Strong)]
- DDRUMLongTaskEventRUMConnectivityCellular Cellular { get; }
-
- // @property (readonly, nonatomic) enum DDRUMLongTaskEventRUMConnectivityEffectiveType effectiveType;
- [Export ("effectiveType")]
- DDRUMLongTaskEventRUMConnectivityEffectiveType EffectiveType { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable interfaces;
- [NullAllowed, Export ("interfaces", ArgumentSemantic.Copy)]
- NSNumber[] Interfaces { get; }
-
- // @property (readonly, nonatomic) enum DDRUMLongTaskEventRUMConnectivityStatus status;
- [Export ("status")]
- DDRUMLongTaskEventRUMConnectivityStatus Status { get; }
- }
-
- // @interface DDRUMLongTaskEventRUMConnectivityCellular : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc41DDRUMLongTaskEventRUMConnectivityCellular")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventRUMConnectivityCellular
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable carrierName;
- [NullAllowed, Export ("carrierName")]
- string CarrierName { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable technology;
- [NullAllowed, Export ("technology")]
- string Technology { get; }
- }
-
- // @interface DDRUMLongTaskEventRUMDevice : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMLongTaskEventRUMDevice")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventRUMDevice
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable architecture;
- [NullAllowed, Export ("architecture")]
- string Architecture { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable brand;
- [NullAllowed, Export ("brand")]
- string Brand { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable model;
- [NullAllowed, Export ("model")]
- string Model { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, nonatomic) enum DDRUMLongTaskEventRUMDeviceRUMDeviceType type;
- [Export ("type")]
- DDRUMLongTaskEventRUMDeviceRUMDeviceType Type { get; }
-
- [Export ("batteryLevel", ArgumentSemantic.Strong)]
- NSNumber BatteryLevel { get; }
-
- [Export ("brightnessLevel", ArgumentSemantic.Strong)]
- NSNumber BrightnessLevel { get; }
-
- [Export ("locale", ArgumentSemantic.Copy)]
- string Locale { get; }
-
- [Export ("locales", ArgumentSemantic.Copy)]
- string[] Locales { get; }
-
- [Export ("powerSavingMode", ArgumentSemantic.Strong)]
- NSNumber PowerSavingMode { get; }
-
- [Export ("timeZone", ArgumentSemantic.Copy)]
- string TimeZone { get; }
- }
-
- // @interface DDRUMLongTaskEventRUMEventAttributes : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc36DDRUMLongTaskEventRUMEventAttributes")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventRUMEventAttributes
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull contextInfo;
- [Export ("contextInfo", ArgumentSemantic.Copy)]
- NSDictionary ContextInfo { get; }
- }
-
- // @interface DDRUMLongTaskEventRUMOperatingSystem : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc36DDRUMLongTaskEventRUMOperatingSystem")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventRUMOperatingSystem
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable build;
- [NullAllowed, Export ("build")]
- string Build { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull version;
- [Export ("version")]
- string Version { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull versionMajor;
- [Export ("versionMajor")]
- string VersionMajor { get; }
- }
-
- // @interface DDRUMLongTaskEventRUMSyntheticsTest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc35DDRUMLongTaskEventRUMSyntheticsTest")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventRUMSyntheticsTest
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable injected;
- [NullAllowed, Export ("injected", ArgumentSemantic.Strong)]
- NSNumber Injected { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull resultId;
- [Export ("resultId")]
- string ResultId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testId;
- [Export ("testId")]
- string TestId { get; }
- }
-
- // @interface DDRUMLongTaskEventRUMUser : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMLongTaskEventRUMUser")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventRUMUser
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable email;
- [NullAllowed, Export ("email")]
- string Email { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull usrInfo;
- [Export ("usrInfo", ArgumentSemantic.Copy)]
- NSDictionary UsrInfo { get; }
-
- [Export ("anonymousId", ArgumentSemantic.Copy)]
- string AnonymousId { get; }
- }
-
- // @interface DDRUMLongTaskEventSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMLongTaskEventSession")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventSession
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable hasReplay;
- [NullAllowed, Export ("hasReplay", ArgumentSemantic.Strong)]
- NSNumber HasReplay { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic) enum DDRUMLongTaskEventSessionRUMSessionType type;
- [Export ("type")]
- DDRUMLongTaskEventSessionRUMSessionType Type { get; }
- }
-
- // @interface DDRUMLongTaskEventView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMLongTaskEventView")]
- [DisableDefaultCtor]
- interface DDRUMLongTaskEventView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable referrer;
- [NullAllowed, Export ("referrer")]
- string Referrer { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nonnull url;
- [Export ("url")]
- string Url { get; set; }
- }
-
- // @interface DDRUMMonitor : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc12DDRUMMonitor")]
- [DisableDefaultCtor]
- interface DDRUMMonitor
- {
- // +(DDRUMMonitor * _Nonnull)shared __attribute__((warn_unused_result("")));
- [Static]
- [Export ("shared")]
- DDRUMMonitor Shared { get; }
-
- // -(void)currentSessionIDWithCompletion:(void (^ _Nonnull)(NSString * _Nullable))completion;
- [Export ("currentSessionIDWithCompletion:")]
- void CurrentSessionIDWithCompletion (Action completion);
-
- // -(void)stopSession;
- [Export ("stopSession")]
- void StopSession ();
-
- // -(void)startViewWithViewController:(UIViewController * _Nonnull)viewController name:(NSString * _Nullable)name attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("startViewWithViewController:name:attributes:")]
- void StartViewWithViewController (UIViewController viewController, [NullAllowed] string name, NSDictionary attributes);
-
- // -(void)stopViewWithViewController:(UIViewController * _Nonnull)viewController attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("stopViewWithViewController:attributes:")]
- void StopViewWithViewController (UIViewController viewController, NSDictionary attributes);
-
- // -(void)startViewWithKey:(NSString * _Nonnull)key name:(NSString * _Nullable)name attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("startViewWithKey:name:attributes:")]
- void StartViewWithKey (string key, [NullAllowed] string name, NSDictionary attributes);
-
- // -(void)stopViewWithKey:(NSString * _Nonnull)key attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("stopViewWithKey:attributes:")]
- void StopViewWithKey (string key, NSDictionary attributes);
-
- // -(void)addTimingWithName:(NSString * _Nonnull)name;
- [Export ("addTimingWithName:")]
- void AddTimingWithName (string name);
-
- // -(void)addErrorWithMessage:(NSString * _Nonnull)message stack:(NSString * _Nullable)stack source:(enum DDRUMErrorSource)source attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("addErrorWithMessage:stack:source:attributes:")]
- void AddErrorWithMessage (string message, [NullAllowed] string stack, DDRUMErrorSource source, NSDictionary attributes);
-
- // -(void)addErrorWithError:(NSError * _Nonnull)error source:(enum DDRUMErrorSource)source attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("addErrorWithError:source:attributes:")]
- void AddErrorWithError (NSError error, DDRUMErrorSource source, NSDictionary attributes);
-
- // -(void)startResourceWithResourceKey:(NSString * _Nonnull)resourceKey request:(NSURLRequest * _Nonnull)request attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("startResourceWithResourceKey:request:attributes:")]
- void StartResourceWithResourceKey (string resourceKey, NSUrlRequest request, NSDictionary attributes);
-
- // -(void)startResourceWithResourceKey:(NSString * _Nonnull)resourceKey url:(NSURL * _Nonnull)url attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("startResourceWithResourceKey:url:attributes:")]
- void StartResourceWithResourceKey (string resourceKey, NSUrl url, NSDictionary attributes);
-
- // -(void)startResourceWithResourceKey:(NSString * _Nonnull)resourceKey httpMethod:(enum DDRUMMethod)httpMethod urlString:(NSString * _Nonnull)urlString attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("startResourceWithResourceKey:httpMethod:urlString:attributes:")]
- void StartResourceWithResourceKey (string resourceKey, DDRUMMethod httpMethod, string urlString, NSDictionary attributes);
-
- // -(void)addResourceMetricsWithResourceKey:(NSString * _Nonnull)resourceKey metrics:(NSURLSessionTaskMetrics * _Nonnull)metrics attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("addResourceMetricsWithResourceKey:metrics:attributes:")]
- void AddResourceMetricsWithResourceKey (string resourceKey, NSUrlSessionTaskMetrics metrics, NSDictionary attributes);
-
- // -(void)stopResourceWithResourceKey:(NSString * _Nonnull)resourceKey response:(NSURLResponse * _Nonnull)response size:(NSNumber * _Nullable)size attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("stopResourceWithResourceKey:response:size:attributes:")]
- void StopResourceWithResourceKey (string resourceKey, NSUrlResponse response, [NullAllowed] NSNumber size, NSDictionary attributes);
-
- // -(void)stopResourceWithResourceKey:(NSString * _Nonnull)resourceKey statusCode:(NSNumber * _Nullable)statusCode kind:(enum DDRUMResourceType)kind size:(NSNumber * _Nullable)size attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("stopResourceWithResourceKey:statusCode:kind:size:attributes:")]
- void StopResourceWithResourceKey (string resourceKey, [NullAllowed] NSNumber statusCode, DDRUMResourceType kind, [NullAllowed] NSNumber size, NSDictionary attributes);
-
- // -(void)stopResourceWithErrorWithResourceKey:(NSString * _Nonnull)resourceKey error:(NSError * _Nonnull)error response:(NSURLResponse * _Nullable)response attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("stopResourceWithErrorWithResourceKey:error:response:attributes:")]
- void StopResourceWithErrorWithResourceKey (string resourceKey, NSError error, [NullAllowed] NSUrlResponse response, NSDictionary attributes);
-
- // -(void)stopResourceWithErrorWithResourceKey:(NSString * _Nonnull)resourceKey message:(NSString * _Nonnull)message response:(NSURLResponse * _Nullable)response attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("stopResourceWithErrorWithResourceKey:message:response:attributes:")]
- void StopResourceWithErrorWithResourceKey (string resourceKey, string message, [NullAllowed] NSUrlResponse response, NSDictionary attributes);
-
- // -(void)startActionWithType:(enum DDRUMActionType)type name:(NSString * _Nonnull)name attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("startActionWithType:name:attributes:")]
- void StartActionWithType (DDRUMActionType type, string name, NSDictionary attributes);
-
- // -(void)stopActionWithType:(enum DDRUMActionType)type name:(NSString * _Nullable)name attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("stopActionWithType:name:attributes:")]
- void StopActionWithType (DDRUMActionType type, [NullAllowed] string name, NSDictionary attributes);
-
- // -(void)addActionWithType:(enum DDRUMActionType)type name:(NSString * _Nonnull)name attributes:(NSDictionary * _Nonnull)attributes;
- [Export ("addActionWithType:name:attributes:")]
- void AddActionWithType (DDRUMActionType type, string name, NSDictionary attributes);
-
- // -(void)addAttributeForKey:(NSString * _Nonnull)key value:(id _Nonnull)value;
- [Export ("addAttributeForKey:value:")]
- void AddAttributeForKey (string key, NSObject value);
-
- // -(void)removeAttributeForKey:(NSString * _Nonnull)key;
- [Export ("removeAttributeForKey:")]
- void RemoveAttributeForKey (string key);
-
- // -(void)addFeatureFlagEvaluationWithName:(NSString * _Nonnull)name value:(id _Nonnull)value;
- [Export ("addFeatureFlagEvaluationWithName:value:")]
- void AddFeatureFlagEvaluationWithName (string name, NSObject value);
-
- // @property (nonatomic) BOOL debug;
- [Export ("debug")]
- bool Debug { get; set; }
-
- [Export ("addAttributes:")]
- void AddAttributes (NSDictionary attributes);
-
- [Export ("removeAttributesForKeys:")]
- void RemoveAttributesForKeys (string[] keys);
- }
-
- // @interface DDRUMResourceEvent : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc18DDRUMResourceEvent")]
- [DisableDefaultCtor]
- interface DDRUMResourceEvent
- {
- // @property (readonly, nonatomic, strong) DDRUMResourceEventDD * _Nonnull dd;
- [Export ("dd", ArgumentSemantic.Strong)]
- DDRUMResourceEventDD Dd { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventAction * _Nullable action;
- [NullAllowed, Export ("action", ArgumentSemantic.Strong)]
- DDRUMResourceEventAction Action { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventApplication * _Nonnull application;
- [Export ("application", ArgumentSemantic.Strong)]
- DDRUMResourceEventApplication Application { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildId;
- [NullAllowed, Export ("buildId")]
- string BuildId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildVersion;
- [NullAllowed, Export ("buildVersion")]
- string BuildVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventRUMCITest * _Nullable ciTest;
- [NullAllowed, Export ("ciTest", ArgumentSemantic.Strong)]
- DDRUMResourceEventRUMCITest CiTest { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventRUMConnectivity * _Nullable connectivity;
- [NullAllowed, Export ("connectivity", ArgumentSemantic.Strong)]
- DDRUMResourceEventRUMConnectivity Connectivity { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventContainer * _Nullable container;
- [NullAllowed, Export ("container", ArgumentSemantic.Strong)]
- DDRUMResourceEventContainer Container { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventRUMEventAttributes * _Nullable context;
- [NullAllowed, Export ("context", ArgumentSemantic.Strong)]
- DDRUMResourceEventRUMEventAttributes Context { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull date;
- [Export ("date", ArgumentSemantic.Strong)]
- NSNumber Date { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventRUMDevice * _Nullable device;
- [NullAllowed, Export ("device", ArgumentSemantic.Strong)]
- DDRUMResourceEventRUMDevice Device { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventDisplay * _Nullable display;
- [NullAllowed, Export ("display", ArgumentSemantic.Strong)]
- DDRUMResourceEventDisplay Display { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventRUMOperatingSystem * _Nullable os;
- [NullAllowed, Export ("os", ArgumentSemantic.Strong)]
- DDRUMResourceEventRUMOperatingSystem Os { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventResource * _Nonnull resource;
- [Export ("resource", ArgumentSemantic.Strong)]
- DDRUMResourceEventResource Resource { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable service;
- [NullAllowed, Export ("service")]
- string Service { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventSession * _Nonnull session;
- [Export ("session", ArgumentSemantic.Strong)]
- DDRUMResourceEventSession Session { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventSource source;
- [Export ("source")]
- DDRUMResourceEventSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventRUMSyntheticsTest * _Nullable synthetics;
- [NullAllowed, Export ("synthetics", ArgumentSemantic.Strong)]
- DDRUMResourceEventRUMSyntheticsTest Synthetics { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventRUMUser * _Nullable usr;
- [NullAllowed, Export ("usr", ArgumentSemantic.Strong)]
- DDRUMResourceEventRUMUser Usr { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable version;
- [NullAllowed, Export ("version")]
- string Version { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMResourceEventView View { get; }
-
- [Export ("account", ArgumentSemantic.Strong)]
- DDRUMResourceEventRUMAccount Account { get; }
-
- [Export ("ddtags", ArgumentSemantic.Copy)]
- string Ddtags { get; }
- }
-
- // @interface DDRUMResourceEventAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMResourceEventAction")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventAction
- {
- // @property (readonly, nonatomic, strong) DDRUMResourceEventActionRUMActionID * _Nonnull id;
- [Export ("id", ArgumentSemantic.Strong)]
- DDRUMResourceEventActionRUMActionID Id { get; }
- }
-
- // @interface DDRUMResourceEventActionRUMActionID : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc35DDRUMResourceEventActionRUMActionID")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventActionRUMActionID
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable string;
- [NullAllowed, Export ("string")]
- string String { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable stringsArray;
- [NullAllowed, Export ("stringsArray", ArgumentSemantic.Copy)]
- string[] StringsArray { get; }
- }
-
- // @interface DDRUMResourceEventApplication : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMResourceEventApplication")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventApplication
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- [Export ("currentLocale", ArgumentSemantic.Copy)]
- string CurrentLocale { get; }
- }
-
- // @interface DDRUMResourceEventContainer : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMResourceEventContainer")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventContainer
- {
- // @property (readonly, nonatomic) enum DDRUMResourceEventContainerSource source;
- [Export ("source")]
- DDRUMResourceEventContainerSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventContainerView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMResourceEventContainerView View { get; }
- }
-
- // @interface DDRUMResourceEventContainerView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc31DDRUMResourceEventContainerView")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventContainerView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDRUMResourceEventDD : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc20DDRUMResourceEventDD")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventDD
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable browserSdkVersion;
- [NullAllowed, Export ("browserSdkVersion")]
- string BrowserSdkVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventDDConfiguration * _Nullable configuration;
- [NullAllowed, Export ("configuration", ArgumentSemantic.Strong)]
- DDRUMResourceEventDDConfiguration Configuration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable discarded;
- [NullAllowed, Export ("discarded", ArgumentSemantic.Strong)]
- NSNumber Discarded { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull formatVersion;
- [Export ("formatVersion", ArgumentSemantic.Strong)]
- NSNumber FormatVersion { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable rulePsr;
- [NullAllowed, Export ("rulePsr", ArgumentSemantic.Strong)]
- NSNumber RulePsr { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventDDSession * _Nullable session;
- [NullAllowed, Export ("session", ArgumentSemantic.Strong)]
- DDRUMResourceEventDDSession Session { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable spanId;
- [NullAllowed, Export ("spanId")]
- string SpanId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable traceId;
- [NullAllowed, Export ("traceId")]
- string TraceId { get; }
-
- [Export ("parentSpanId", ArgumentSemantic.Copy)]
- string ParentSpanId { get; }
-
- [Export ("sdkName", ArgumentSemantic.Copy)]
- string SdkName { get; }
- }
-
- // @interface DDRUMResourceEventDDConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMResourceEventDDConfiguration")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventDDConfiguration
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable sessionReplaySampleRate;
- [NullAllowed, Export ("sessionReplaySampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionReplaySampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull sessionSampleRate;
- [Export ("sessionSampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionSampleRate { get; }
-
- [Export ("profilingSampleRate", ArgumentSemantic.Strong)]
- NSNumber ProfilingSampleRate { get; }
- }
-
- // @interface DDRUMResourceEventDDSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMResourceEventDDSession")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventDDSession
- {
- // @property (readonly, nonatomic) enum DDRUMResourceEventDDSessionPlan plan;
- [Export ("plan")]
- DDRUMResourceEventDDSessionPlan Plan { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventDDSessionRUMSessionPrecondition sessionPrecondition;
- [Export ("sessionPrecondition")]
- DDRUMResourceEventDDSessionRUMSessionPrecondition SessionPrecondition { get; }
- }
-
- // @interface DDRUMResourceEventDisplay : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMResourceEventDisplay")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventDisplay
- {
- // @property (readonly, nonatomic, strong) DDRUMResourceEventDisplayViewport * _Nullable viewport;
- [NullAllowed, Export ("viewport", ArgumentSemantic.Strong)]
- DDRUMResourceEventDisplayViewport Viewport { get; }
- }
-
- // @interface DDRUMResourceEventDisplayViewport : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMResourceEventDisplayViewport")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventDisplayViewport
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull height;
- [Export ("height", ArgumentSemantic.Strong)]
- NSNumber Height { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull width;
- [Export ("width", ArgumentSemantic.Strong)]
- NSNumber Width { get; }
- }
-
- // @interface DDRUMResourceEventRUMCITest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMResourceEventRUMCITest")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventRUMCITest
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testExecutionId;
- [Export ("testExecutionId")]
- string TestExecutionId { get; }
- }
-
- // @interface DDRUMResourceEventRUMConnectivity : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMResourceEventRUMConnectivity")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventRUMConnectivity
- {
- // @property (readonly, nonatomic, strong) DDRUMResourceEventRUMConnectivityCellular * _Nullable cellular;
- [NullAllowed, Export ("cellular", ArgumentSemantic.Strong)]
- DDRUMResourceEventRUMConnectivityCellular Cellular { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventRUMConnectivityEffectiveType effectiveType;
- [Export ("effectiveType")]
- DDRUMResourceEventRUMConnectivityEffectiveType EffectiveType { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable interfaces;
- [NullAllowed, Export ("interfaces", ArgumentSemantic.Copy)]
- NSNumber[] Interfaces { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventRUMConnectivityStatus status;
- [Export ("status")]
- DDRUMResourceEventRUMConnectivityStatus Status { get; }
- }
-
- // @interface DDRUMResourceEventRUMConnectivityCellular : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc41DDRUMResourceEventRUMConnectivityCellular")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventRUMConnectivityCellular
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable carrierName;
- [NullAllowed, Export ("carrierName")]
- string CarrierName { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable technology;
- [NullAllowed, Export ("technology")]
- string Technology { get; }
- }
-
- // @interface DDRUMResourceEventRUMDevice : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMResourceEventRUMDevice")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventRUMDevice
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable architecture;
- [NullAllowed, Export ("architecture")]
- string Architecture { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable brand;
- [NullAllowed, Export ("brand")]
- string Brand { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable model;
- [NullAllowed, Export ("model")]
- string Model { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventRUMDeviceRUMDeviceType type;
- [Export ("type")]
- DDRUMResourceEventRUMDeviceRUMDeviceType Type { get; }
-
- [Export ("batteryLevel", ArgumentSemantic.Strong)]
- NSNumber BatteryLevel { get; }
-
- [Export ("brightnessLevel", ArgumentSemantic.Strong)]
- NSNumber BrightnessLevel { get; }
-
- [Export ("locale", ArgumentSemantic.Copy)]
- string Locale { get; }
-
- [Export ("locales", ArgumentSemantic.Copy)]
- string[] Locales { get; }
-
- [Export ("powerSavingMode", ArgumentSemantic.Strong)]
- NSNumber PowerSavingMode { get; }
-
- [Export ("timeZone", ArgumentSemantic.Copy)]
- string TimeZone { get; }
- }
-
- // @interface DDRUMResourceEventRUMEventAttributes : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc36DDRUMResourceEventRUMEventAttributes")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventRUMEventAttributes
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull contextInfo;
- [Export ("contextInfo", ArgumentSemantic.Copy)]
- NSDictionary ContextInfo { get; }
- }
-
- // @interface DDRUMResourceEventRUMOperatingSystem : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc36DDRUMResourceEventRUMOperatingSystem")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventRUMOperatingSystem
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable build;
- [NullAllowed, Export ("build")]
- string Build { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull version;
- [Export ("version")]
- string Version { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull versionMajor;
- [Export ("versionMajor")]
- string VersionMajor { get; }
- }
-
- // @interface DDRUMResourceEventRUMSyntheticsTest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc35DDRUMResourceEventRUMSyntheticsTest")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventRUMSyntheticsTest
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable injected;
- [NullAllowed, Export ("injected", ArgumentSemantic.Strong)]
- NSNumber Injected { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull resultId;
- [Export ("resultId")]
- string ResultId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testId;
- [Export ("testId")]
- string TestId { get; }
- }
-
- // @interface DDRUMResourceEventRUMUser : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMResourceEventRUMUser")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventRUMUser
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable email;
- [NullAllowed, Export ("email")]
- string Email { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull usrInfo;
- [Export ("usrInfo", ArgumentSemantic.Copy)]
- NSDictionary UsrInfo { get; }
-
- [Export ("anonymousId", ArgumentSemantic.Copy)]
- string AnonymousId { get; }
- }
-
- // @interface DDRUMResourceEventResource : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc26DDRUMResourceEventResource")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventResource
- {
- // @property (readonly, nonatomic, strong) DDRUMResourceEventResourceConnect * _Nullable connect;
- [NullAllowed, Export ("connect", ArgumentSemantic.Strong)]
- DDRUMResourceEventResourceConnect Connect { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable decodedBodySize;
- [NullAllowed, Export ("decodedBodySize", ArgumentSemantic.Strong)]
- NSNumber DecodedBodySize { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventResourceDNS * _Nullable dns;
- [NullAllowed, Export ("dns", ArgumentSemantic.Strong)]
- DDRUMResourceEventResourceDNS Dns { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventResourceDownload * _Nullable download;
- [NullAllowed, Export ("download", ArgumentSemantic.Strong)]
- DDRUMResourceEventResourceDownload Download { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable duration;
- [NullAllowed, Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable encodedBodySize;
- [NullAllowed, Export ("encodedBodySize", ArgumentSemantic.Strong)]
- NSNumber EncodedBodySize { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventResourceFirstByte * _Nullable firstByte;
- [NullAllowed, Export ("firstByte", ArgumentSemantic.Strong)]
- DDRUMResourceEventResourceFirstByte FirstByte { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventResourceGraphql * _Nullable graphql;
- [NullAllowed, Export ("graphql", ArgumentSemantic.Strong)]
- DDRUMResourceEventResourceGraphql Graphql { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventResourceRUMMethod method;
- [Export ("method")]
- DDRUMResourceEventResourceRUMMethod Method { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventResourceProvider * _Nullable provider;
- [NullAllowed, Export ("provider", ArgumentSemantic.Strong)]
- DDRUMResourceEventResourceProvider Provider { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventResourceRedirect * _Nullable redirect;
- [NullAllowed, Export ("redirect", ArgumentSemantic.Strong)]
- DDRUMResourceEventResourceRedirect Redirect { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventResourceRenderBlockingStatus renderBlockingStatus;
- [Export ("renderBlockingStatus")]
- DDRUMResourceEventResourceRenderBlockingStatus RenderBlockingStatus { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable size;
- [NullAllowed, Export ("size", ArgumentSemantic.Strong)]
- NSNumber Size { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMResourceEventResourceSSL * _Nullable ssl;
- [NullAllowed, Export ("ssl", ArgumentSemantic.Strong)]
- DDRUMResourceEventResourceSSL Ssl { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable statusCode;
- [NullAllowed, Export ("statusCode", ArgumentSemantic.Strong)]
- NSNumber StatusCode { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable transferSize;
- [NullAllowed, Export ("transferSize", ArgumentSemantic.Strong)]
- NSNumber TransferSize { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventResourceResourceType type;
- [Export ("type")]
- DDRUMResourceEventResourceResourceType Type { get; }
-
- // @property (copy, nonatomic) NSString * _Nonnull url;
- [Export ("url")]
- string Url { get; set; }
-
- [Export ("deliveryType")]
- DDRUMResourceEventResourceDeliveryType DeliveryType { get; }
-
- [Export ("protocol", ArgumentSemantic.Copy)]
- string Protocol { get; }
-
- [Export ("worker", ArgumentSemantic.Strong)]
- DDRUMResourceEventResourceWorker Worker { get; }
- }
-
- // @interface DDRUMResourceEventResourceConnect : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMResourceEventResourceConnect")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventResourceConnect
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull duration;
- [Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull start;
- [Export ("start", ArgumentSemantic.Strong)]
- NSNumber Start { get; }
- }
-
- // @interface DDRUMResourceEventResourceDNS : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMResourceEventResourceDNS")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventResourceDNS
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull duration;
- [Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull start;
- [Export ("start", ArgumentSemantic.Strong)]
- NSNumber Start { get; }
- }
-
- // @interface DDRUMResourceEventResourceDownload : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc34DDRUMResourceEventResourceDownload")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventResourceDownload
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull duration;
- [Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull start;
- [Export ("start", ArgumentSemantic.Strong)]
- NSNumber Start { get; }
- }
-
- // @interface DDRUMResourceEventResourceFirstByte : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc35DDRUMResourceEventResourceFirstByte")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventResourceFirstByte
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull duration;
- [Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull start;
- [Export ("start", ArgumentSemantic.Strong)]
- NSNumber Start { get; }
- }
-
- // @interface DDRUMResourceEventResourceGraphql : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMResourceEventResourceGraphql")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventResourceGraphql
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable operationName;
- [NullAllowed, Export ("operationName")]
- string OperationName { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventResourceGraphqlOperationType operationType;
- [Export ("operationType")]
- DDRUMResourceEventResourceGraphqlOperationType OperationType { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable payload;
- [NullAllowed, Export ("payload")]
- string Payload { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable variables;
- [NullAllowed, Export ("variables")]
- string Variables { get; set; }
- }
-
- // @interface DDRUMResourceEventResourceProvider : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc34DDRUMResourceEventResourceProvider")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventResourceProvider
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable domain;
- [NullAllowed, Export ("domain")]
- string Domain { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventResourceProviderProviderType type;
- [Export ("type")]
- DDRUMResourceEventResourceProviderProviderType Type { get; }
- }
-
- // @interface DDRUMResourceEventResourceRedirect : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc34DDRUMResourceEventResourceRedirect")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventResourceRedirect
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull duration;
- [Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull start;
- [Export ("start", ArgumentSemantic.Strong)]
- NSNumber Start { get; }
- }
-
- // @interface DDRUMResourceEventResourceSSL : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMResourceEventResourceSSL")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventResourceSSL
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull duration;
- [Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull start;
- [Export ("start", ArgumentSemantic.Strong)]
- NSNumber Start { get; }
- }
-
- // @interface DDRUMResourceEventSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMResourceEventSession")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventSession
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable hasReplay;
- [NullAllowed, Export ("hasReplay", ArgumentSemantic.Strong)]
- NSNumber HasReplay { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic) enum DDRUMResourceEventSessionRUMSessionType type;
- [Export ("type")]
- DDRUMResourceEventSessionRUMSessionType Type { get; }
- }
-
- // @interface DDRUMResourceEventView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMResourceEventView")]
- [DisableDefaultCtor]
- interface DDRUMResourceEventView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable referrer;
- [NullAllowed, Export ("referrer")]
- string Referrer { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nonnull url;
- [Export ("url")]
- string Url { get; set; }
- }
-
- // @interface DDRUMURLSessionTracking : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMURLSessionTracking")]
- interface DDRUMURLSessionTracking
- {
- // -(void)setFirstPartyHostsTracing:(DDRUMFirstPartyHostsTracing * _Nonnull)firstPartyHostsTracing;
- [Export ("setFirstPartyHostsTracing:")]
- void SetFirstPartyHostsTracing (DDRUMFirstPartyHostsTracing firstPartyHostsTracing);
-
- // -(void)setResourceAttributesProvider:(NSDictionary * _Nullable (^ _Nonnull)(NSURLRequest * _Nonnull, NSURLResponse * _Nullable, NSData * _Nullable, NSError * _Nullable))provider;
- [Export ("setResourceAttributesProvider:")]
- void SetResourceAttributesProvider (Func> provider);
- }
-
- // @interface DDRUMView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc9DDRUMView")]
- [DisableDefaultCtor]
- interface DDRUMView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull attributes;
- [Export ("attributes", ArgumentSemantic.Copy)]
- NSDictionary Attributes { get; }
-
- // -(instancetype _Nonnull)initWithName:(NSString * _Nonnull)name attributes:(NSDictionary * _Nonnull)attributes __attribute__((objc_designated_initializer));
- [Export ("initWithName:attributes:")]
- [DesignatedInitializer]
- NativeHandle Constructor (string name, NSDictionary attributes);
- }
-
- // @interface DDRUMViewEvent : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc14DDRUMViewEvent")]
- [DisableDefaultCtor]
- interface DDRUMViewEvent
- {
- // @property (readonly, nonatomic, strong) DDRUMViewEventDD * _Nonnull dd;
- [Export ("dd", ArgumentSemantic.Strong)]
- DDRUMViewEventDD Dd { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventApplication * _Nonnull application;
- [Export ("application", ArgumentSemantic.Strong)]
- DDRUMViewEventApplication Application { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildId;
- [NullAllowed, Export ("buildId")]
- string BuildId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildVersion;
- [NullAllowed, Export ("buildVersion")]
- string BuildVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventRUMCITest * _Nullable ciTest;
- [NullAllowed, Export ("ciTest", ArgumentSemantic.Strong)]
- DDRUMViewEventRUMCITest CiTest { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventRUMConnectivity * _Nullable connectivity;
- [NullAllowed, Export ("connectivity", ArgumentSemantic.Strong)]
- DDRUMViewEventRUMConnectivity Connectivity { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventContainer * _Nullable container;
- [NullAllowed, Export ("container", ArgumentSemantic.Strong)]
- DDRUMViewEventContainer Container { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventRUMEventAttributes * _Nullable context;
- [NullAllowed, Export ("context", ArgumentSemantic.Strong)]
- DDRUMViewEventRUMEventAttributes Context { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull date;
- [Export ("date", ArgumentSemantic.Strong)]
- NSNumber Date { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventRUMDevice * _Nullable device;
- [NullAllowed, Export ("device", ArgumentSemantic.Strong)]
- DDRUMViewEventRUMDevice Device { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventDisplay * _Nullable display;
- [NullAllowed, Export ("display", ArgumentSemantic.Strong)]
- DDRUMViewEventDisplay Display { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventFeatureFlags * _Nullable featureFlags;
- [NullAllowed, Export ("featureFlags", ArgumentSemantic.Strong)]
- DDRUMViewEventFeatureFlags FeatureFlags { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventRUMOperatingSystem * _Nullable os;
- [NullAllowed, Export ("os", ArgumentSemantic.Strong)]
- DDRUMViewEventRUMOperatingSystem Os { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventPrivacy * _Nullable privacy;
- [NullAllowed, Export ("privacy", ArgumentSemantic.Strong)]
- DDRUMViewEventPrivacy Privacy { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable service;
- [NullAllowed, Export ("service")]
- string Service { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventSession * _Nonnull session;
- [Export ("session", ArgumentSemantic.Strong)]
- DDRUMViewEventSession Session { get; }
-
- // @property (readonly, nonatomic) enum DDRUMViewEventSource source;
- [Export ("source")]
- DDRUMViewEventSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventRUMSyntheticsTest * _Nullable synthetics;
- [NullAllowed, Export ("synthetics", ArgumentSemantic.Strong)]
- DDRUMViewEventRUMSyntheticsTest Synthetics { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventRUMUser * _Nullable usr;
- [NullAllowed, Export ("usr", ArgumentSemantic.Strong)]
- DDRUMViewEventRUMUser Usr { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable version;
- [NullAllowed, Export ("version")]
- string Version { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMViewEventView View { get; }
-
- [Export ("account", ArgumentSemantic.Strong)]
- DDRUMViewEventRUMAccount Account { get; }
-
- [Export ("ddtags", ArgumentSemantic.Copy)]
- string Ddtags { get; }
- }
-
- // @interface DDRUMViewEventApplication : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDRUMViewEventApplication")]
- [DisableDefaultCtor]
- interface DDRUMViewEventApplication
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- [Export ("currentLocale", ArgumentSemantic.Copy)]
- string CurrentLocale { get; }
- }
-
- // @interface DDRUMViewEventContainer : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMViewEventContainer")]
- [DisableDefaultCtor]
- interface DDRUMViewEventContainer
- {
- // @property (readonly, nonatomic) enum DDRUMViewEventContainerSource source;
- [Export ("source")]
- DDRUMViewEventContainerSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventContainerView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMViewEventContainerView View { get; }
- }
-
- // @interface DDRUMViewEventContainerView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMViewEventContainerView")]
- [DisableDefaultCtor]
- interface DDRUMViewEventContainerView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDRUMViewEventDD : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc16DDRUMViewEventDD")]
- [DisableDefaultCtor]
- interface DDRUMViewEventDD
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable browserSdkVersion;
- [NullAllowed, Export ("browserSdkVersion")]
- string BrowserSdkVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventDDConfiguration * _Nullable configuration;
- [NullAllowed, Export ("configuration", ArgumentSemantic.Strong)]
- DDRUMViewEventDDConfiguration Configuration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull documentVersion;
- [Export ("documentVersion", ArgumentSemantic.Strong)]
- NSNumber DocumentVersion { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull formatVersion;
- [Export ("formatVersion", ArgumentSemantic.Strong)]
- NSNumber FormatVersion { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable pageStates;
- [NullAllowed, Export ("pageStates", ArgumentSemantic.Copy)]
- DDRUMViewEventDDPageStates[] PageStates { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventDDReplayStats * _Nullable replayStats;
- [NullAllowed, Export ("replayStats", ArgumentSemantic.Strong)]
- DDRUMViewEventDDReplayStats ReplayStats { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventDDSession * _Nullable session;
- [NullAllowed, Export ("session", ArgumentSemantic.Strong)]
- DDRUMViewEventDDSession Session { get; }
-
- [Export ("cls", ArgumentSemantic.Strong)]
- DDRUMViewEventDDCLS Cls { get; }
-
- [Export ("profiling", ArgumentSemantic.Strong)]
- DDRUMViewEventDDProfiling Profiling { get; }
-
- [Export ("sdkName", ArgumentSemantic.Copy)]
- string SdkName { get; }
- }
-
- // @interface DDRUMViewEventDDConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMViewEventDDConfiguration")]
- [DisableDefaultCtor]
- interface DDRUMViewEventDDConfiguration
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable sessionReplaySampleRate;
- [NullAllowed, Export ("sessionReplaySampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionReplaySampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull sessionSampleRate;
- [Export ("sessionSampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionSampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable startSessionReplayRecordingManually;
- [NullAllowed, Export ("startSessionReplayRecordingManually", ArgumentSemantic.Strong)]
- NSNumber StartSessionReplayRecordingManually { get; }
-
- [Export ("profilingSampleRate", ArgumentSemantic.Strong)]
- NSNumber ProfilingSampleRate { get; }
- }
-
- // @interface DDRUMViewEventDDPageStates : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc26DDRUMViewEventDDPageStates")]
- [DisableDefaultCtor]
- interface DDRUMViewEventDDPageStates
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull start;
- [Export ("start", ArgumentSemantic.Strong)]
- NSNumber Start { get; }
-
- // @property (readonly, nonatomic) enum DDRUMViewEventDDPageStatesState state;
- [Export ("state")]
- DDRUMViewEventDDPageStatesState State { get; }
- }
-
- // @interface DDRUMViewEventDDReplayStats : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMViewEventDDReplayStats")]
- [DisableDefaultCtor]
- interface DDRUMViewEventDDReplayStats
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable recordsCount;
- [NullAllowed, Export ("recordsCount", ArgumentSemantic.Strong)]
- NSNumber RecordsCount { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable segmentsCount;
- [NullAllowed, Export ("segmentsCount", ArgumentSemantic.Strong)]
- NSNumber SegmentsCount { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable segmentsTotalRawSize;
- [NullAllowed, Export ("segmentsTotalRawSize", ArgumentSemantic.Strong)]
- NSNumber SegmentsTotalRawSize { get; }
- }
-
- // @interface DDRUMViewEventDDSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMViewEventDDSession")]
- [DisableDefaultCtor]
- interface DDRUMViewEventDDSession
- {
- // @property (readonly, nonatomic) enum DDRUMViewEventDDSessionPlan plan;
- [Export ("plan")]
- DDRUMViewEventDDSessionPlan Plan { get; }
-
- // @property (readonly, nonatomic) enum DDRUMViewEventDDSessionRUMSessionPrecondition sessionPrecondition;
- [Export ("sessionPrecondition")]
- DDRUMViewEventDDSessionRUMSessionPrecondition SessionPrecondition { get; }
- }
-
- // @interface DDRUMViewEventDisplay : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDRUMViewEventDisplay")]
- [DisableDefaultCtor]
- interface DDRUMViewEventDisplay
- {
- // @property (readonly, nonatomic, strong) DDRUMViewEventDisplayScroll * _Nullable scroll;
- [NullAllowed, Export ("scroll", ArgumentSemantic.Strong)]
- DDRUMViewEventDisplayScroll Scroll { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventDisplayViewport * _Nullable viewport;
- [NullAllowed, Export ("viewport", ArgumentSemantic.Strong)]
- DDRUMViewEventDisplayViewport Viewport { get; }
- }
-
- // @interface DDRUMViewEventDisplayScroll : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDRUMViewEventDisplayScroll")]
- [DisableDefaultCtor]
- interface DDRUMViewEventDisplayScroll
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull maxDepth;
- [Export ("maxDepth", ArgumentSemantic.Strong)]
- NSNumber MaxDepth { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull maxDepthScrollTop;
- [Export ("maxDepthScrollTop", ArgumentSemantic.Strong)]
- NSNumber MaxDepthScrollTop { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull maxScrollHeight;
- [Export ("maxScrollHeight", ArgumentSemantic.Strong)]
- NSNumber MaxScrollHeight { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull maxScrollHeightTime;
- [Export ("maxScrollHeightTime", ArgumentSemantic.Strong)]
- NSNumber MaxScrollHeightTime { get; }
- }
-
- // @interface DDRUMViewEventDisplayViewport : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMViewEventDisplayViewport")]
- [DisableDefaultCtor]
- interface DDRUMViewEventDisplayViewport
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull height;
- [Export ("height", ArgumentSemantic.Strong)]
- NSNumber Height { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull width;
- [Export ("width", ArgumentSemantic.Strong)]
- NSNumber Width { get; }
- }
-
- // @interface DDRUMViewEventFeatureFlags : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc26DDRUMViewEventFeatureFlags")]
- [DisableDefaultCtor]
- interface DDRUMViewEventFeatureFlags
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull featureFlagsInfo;
- [Export ("featureFlagsInfo", ArgumentSemantic.Copy)]
- NSDictionary FeatureFlagsInfo { get; }
- }
-
- // @interface DDRUMViewEventPrivacy : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDRUMViewEventPrivacy")]
- [DisableDefaultCtor]
- interface DDRUMViewEventPrivacy
- {
- // @property (readonly, nonatomic) enum DDRUMViewEventPrivacyReplayLevel replayLevel;
- [Export ("replayLevel")]
- DDRUMViewEventPrivacyReplayLevel ReplayLevel { get; }
- }
-
- // @interface DDRUMViewEventRUMCITest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMViewEventRUMCITest")]
- [DisableDefaultCtor]
- interface DDRUMViewEventRUMCITest
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testExecutionId;
- [Export ("testExecutionId")]
- string TestExecutionId { get; }
- }
-
- // @interface DDRUMViewEventRUMConnectivity : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMViewEventRUMConnectivity")]
- [DisableDefaultCtor]
- interface DDRUMViewEventRUMConnectivity
- {
- // @property (readonly, nonatomic, strong) DDRUMViewEventRUMConnectivityCellular * _Nullable cellular;
- [NullAllowed, Export ("cellular", ArgumentSemantic.Strong)]
- DDRUMViewEventRUMConnectivityCellular Cellular { get; }
-
- // @property (readonly, nonatomic) enum DDRUMViewEventRUMConnectivityEffectiveType effectiveType;
- [Export ("effectiveType")]
- DDRUMViewEventRUMConnectivityEffectiveType EffectiveType { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable interfaces;
- [NullAllowed, Export ("interfaces", ArgumentSemantic.Copy)]
- NSNumber[] Interfaces { get; }
-
- // @property (readonly, nonatomic) enum DDRUMViewEventRUMConnectivityStatus status;
- [Export ("status")]
- DDRUMViewEventRUMConnectivityStatus Status { get; }
- }
-
- // @interface DDRUMViewEventRUMConnectivityCellular : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc37DDRUMViewEventRUMConnectivityCellular")]
- [DisableDefaultCtor]
- interface DDRUMViewEventRUMConnectivityCellular
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable carrierName;
- [NullAllowed, Export ("carrierName")]
- string CarrierName { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable technology;
- [NullAllowed, Export ("technology")]
- string Technology { get; }
- }
-
- // @interface DDRUMViewEventRUMDevice : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMViewEventRUMDevice")]
- [DisableDefaultCtor]
- interface DDRUMViewEventRUMDevice
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable architecture;
- [NullAllowed, Export ("architecture")]
- string Architecture { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable brand;
- [NullAllowed, Export ("brand")]
- string Brand { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable model;
- [NullAllowed, Export ("model")]
- string Model { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, nonatomic) enum DDRUMViewEventRUMDeviceRUMDeviceType type;
- [Export ("type")]
- DDRUMViewEventRUMDeviceRUMDeviceType Type { get; }
-
- [Export ("batteryLevel", ArgumentSemantic.Strong)]
- NSNumber BatteryLevel { get; }
-
- [Export ("brightnessLevel", ArgumentSemantic.Strong)]
- NSNumber BrightnessLevel { get; }
-
- [Export ("locale", ArgumentSemantic.Copy)]
- string Locale { get; }
-
- [Export ("locales", ArgumentSemantic.Copy)]
- string[] Locales { get; }
-
- [Export ("powerSavingMode", ArgumentSemantic.Strong)]
- NSNumber PowerSavingMode { get; }
-
- [Export ("timeZone", ArgumentSemantic.Copy)]
- string TimeZone { get; }
- }
-
- // @interface DDRUMViewEventRUMEventAttributes : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc32DDRUMViewEventRUMEventAttributes")]
- [DisableDefaultCtor]
- interface DDRUMViewEventRUMEventAttributes
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull contextInfo;
- [Export ("contextInfo", ArgumentSemantic.Copy)]
- NSDictionary ContextInfo { get; }
- }
-
- // @interface DDRUMViewEventRUMOperatingSystem : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc32DDRUMViewEventRUMOperatingSystem")]
- [DisableDefaultCtor]
- interface DDRUMViewEventRUMOperatingSystem
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable build;
- [NullAllowed, Export ("build")]
- string Build { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull version;
- [Export ("version")]
- string Version { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull versionMajor;
- [Export ("versionMajor")]
- string VersionMajor { get; }
- }
-
- // @interface DDRUMViewEventRUMSyntheticsTest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc31DDRUMViewEventRUMSyntheticsTest")]
- [DisableDefaultCtor]
- interface DDRUMViewEventRUMSyntheticsTest
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable injected;
- [NullAllowed, Export ("injected", ArgumentSemantic.Strong)]
- NSNumber Injected { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull resultId;
- [Export ("resultId")]
- string ResultId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testId;
- [Export ("testId")]
- string TestId { get; }
- }
-
- // @interface DDRUMViewEventRUMUser : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDRUMViewEventRUMUser")]
- [DisableDefaultCtor]
- interface DDRUMViewEventRUMUser
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable email;
- [NullAllowed, Export ("email")]
- string Email { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull usrInfo;
- [Export ("usrInfo", ArgumentSemantic.Copy)]
- NSDictionary UsrInfo { get; }
-
- [Export ("anonymousId", ArgumentSemantic.Copy)]
- string AnonymousId { get; }
- }
-
- // @interface DDRUMViewEventSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDRUMViewEventSession")]
- [DisableDefaultCtor]
- interface DDRUMViewEventSession
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable hasReplay;
- [NullAllowed, Export ("hasReplay", ArgumentSemantic.Strong)]
- NSNumber HasReplay { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable isActive;
- [NullAllowed, Export ("isActive", ArgumentSemantic.Strong)]
- NSNumber IsActive { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable sampledForReplay;
- [NullAllowed, Export ("sampledForReplay", ArgumentSemantic.Strong)]
- NSNumber SampledForReplay { get; }
-
- // @property (readonly, nonatomic) enum DDRUMViewEventSessionRUMSessionType type;
- [Export ("type")]
- DDRUMViewEventSessionRUMSessionType Type { get; }
- }
-
- // @interface DDRUMViewEventView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc18DDRUMViewEventView")]
- [DisableDefaultCtor]
- interface DDRUMViewEventView
- {
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewAction * _Nonnull action;
- [Export ("action", ArgumentSemantic.Strong)]
- DDRUMViewEventViewAction Action { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable cpuTicksCount;
- [NullAllowed, Export ("cpuTicksCount", ArgumentSemantic.Strong)]
- NSNumber CpuTicksCount { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable cpuTicksPerSecond;
- [NullAllowed, Export ("cpuTicksPerSecond", ArgumentSemantic.Strong)]
- NSNumber CpuTicksPerSecond { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewCrash * _Nullable crash;
- [NullAllowed, Export ("crash", ArgumentSemantic.Strong)]
- DDRUMViewEventViewCrash Crash { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable cumulativeLayoutShift;
- [NullAllowed, Export ("cumulativeLayoutShift", ArgumentSemantic.Strong)]
- NSNumber CumulativeLayoutShift { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable cumulativeLayoutShiftTargetSelector;
- [NullAllowed, Export ("cumulativeLayoutShiftTargetSelector")]
- string CumulativeLayoutShiftTargetSelector { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable cumulativeLayoutShiftTime;
- [NullAllowed, Export ("cumulativeLayoutShiftTime", ArgumentSemantic.Strong)]
- NSNumber CumulativeLayoutShiftTime { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nullable customTimings;
- [NullAllowed, Export ("customTimings", ArgumentSemantic.Copy)]
- NSDictionary CustomTimings { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable domComplete;
- [NullAllowed, Export ("domComplete", ArgumentSemantic.Strong)]
- NSNumber DomComplete { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable domContentLoaded;
- [NullAllowed, Export ("domContentLoaded", ArgumentSemantic.Strong)]
- NSNumber DomContentLoaded { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable domInteractive;
- [NullAllowed, Export ("domInteractive", ArgumentSemantic.Strong)]
- NSNumber DomInteractive { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewError * _Nonnull error;
- [Export ("error", ArgumentSemantic.Strong)]
- DDRUMViewEventViewError Error { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable firstByte;
- [NullAllowed, Export ("firstByte", ArgumentSemantic.Strong)]
- NSNumber FirstByte { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable firstContentfulPaint;
- [NullAllowed, Export ("firstContentfulPaint", ArgumentSemantic.Strong)]
- NSNumber FirstContentfulPaint { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable firstInputDelay;
- [NullAllowed, Export ("firstInputDelay", ArgumentSemantic.Strong)]
- NSNumber FirstInputDelay { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable firstInputTargetSelector;
- [NullAllowed, Export ("firstInputTargetSelector")]
- string FirstInputTargetSelector { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable firstInputTime;
- [NullAllowed, Export ("firstInputTime", ArgumentSemantic.Strong)]
- NSNumber FirstInputTime { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewFlutterBuildTime * _Nullable flutterBuildTime;
- [NullAllowed, Export ("flutterBuildTime", ArgumentSemantic.Strong)]
- DDRUMViewEventViewFlutterBuildTime FlutterBuildTime { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewFlutterRasterTime * _Nullable flutterRasterTime;
- [NullAllowed, Export ("flutterRasterTime", ArgumentSemantic.Strong)]
- DDRUMViewEventViewFlutterRasterTime FlutterRasterTime { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewFrozenFrame * _Nullable frozenFrame;
- [NullAllowed, Export ("frozenFrame", ArgumentSemantic.Strong)]
- DDRUMViewEventViewFrozenFrame FrozenFrame { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewFrustration * _Nullable frustration;
- [NullAllowed, Export ("frustration", ArgumentSemantic.Strong)]
- DDRUMViewEventViewFrustration Frustration { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable inForegroundPeriods;
- [NullAllowed, Export ("inForegroundPeriods", ArgumentSemantic.Copy)]
- DDRUMViewEventViewInForegroundPeriods[] InForegroundPeriods { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable interactionToNextPaint;
- [NullAllowed, Export ("interactionToNextPaint", ArgumentSemantic.Strong)]
- NSNumber InteractionToNextPaint { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable interactionToNextPaintTargetSelector;
- [NullAllowed, Export ("interactionToNextPaintTargetSelector")]
- string InteractionToNextPaintTargetSelector { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable interactionToNextPaintTime;
- [NullAllowed, Export ("interactionToNextPaintTime", ArgumentSemantic.Strong)]
- NSNumber InteractionToNextPaintTime { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable isActive;
- [NullAllowed, Export ("isActive", ArgumentSemantic.Strong)]
- NSNumber IsActive { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable isSlowRendered;
- [NullAllowed, Export ("isSlowRendered", ArgumentSemantic.Strong)]
- NSNumber IsSlowRendered { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewJsRefreshRate * _Nullable jsRefreshRate;
- [NullAllowed, Export ("jsRefreshRate", ArgumentSemantic.Strong)]
- DDRUMViewEventViewJsRefreshRate JsRefreshRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable largestContentfulPaint;
- [NullAllowed, Export ("largestContentfulPaint", ArgumentSemantic.Strong)]
- NSNumber LargestContentfulPaint { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable largestContentfulPaintTargetSelector;
- [NullAllowed, Export ("largestContentfulPaintTargetSelector")]
- string LargestContentfulPaintTargetSelector { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable loadEvent;
- [NullAllowed, Export ("loadEvent", ArgumentSemantic.Strong)]
- NSNumber LoadEvent { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable loadingTime;
- [NullAllowed, Export ("loadingTime", ArgumentSemantic.Strong)]
- NSNumber LoadingTime { get; }
-
- // @property (readonly, nonatomic) enum DDRUMViewEventViewLoadingType loadingType;
- [Export ("loadingType")]
- DDRUMViewEventViewLoadingType LoadingType { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewLongTask * _Nullable longTask;
- [NullAllowed, Export ("longTask", ArgumentSemantic.Strong)]
- DDRUMViewEventViewLongTask LongTask { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable memoryAverage;
- [NullAllowed, Export ("memoryAverage", ArgumentSemantic.Strong)]
- NSNumber MemoryAverage { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable memoryMax;
- [NullAllowed, Export ("memoryMax", ArgumentSemantic.Strong)]
- NSNumber MemoryMax { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable referrer;
- [NullAllowed, Export ("referrer")]
- string Referrer { get; set; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable refreshRateAverage;
- [NullAllowed, Export ("refreshRateAverage", ArgumentSemantic.Strong)]
- NSNumber RefreshRateAverage { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable refreshRateMin;
- [NullAllowed, Export ("refreshRateMin", ArgumentSemantic.Strong)]
- NSNumber RefreshRateMin { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMViewEventViewResource * _Nonnull resource;
- [Export ("resource", ArgumentSemantic.Strong)]
- DDRUMViewEventViewResource Resource { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull timeSpent;
- [Export ("timeSpent", ArgumentSemantic.Strong)]
- NSNumber TimeSpent { get; }
-
- // @property (copy, nonatomic) NSString * _Nonnull url;
- [Export ("url")]
- string Url { get; set; }
-
- [Export ("accessibility", ArgumentSemantic.Strong)]
- DDRUMViewEventViewAccessibility Accessibility { get; }
-
- [Export ("freezeRate", ArgumentSemantic.Strong)]
- NSNumber FreezeRate { get; }
-
- [Export ("interactionToNextViewTime", ArgumentSemantic.Strong)]
- NSNumber InteractionToNextViewTime { get; }
-
- [Export ("networkSettledTime", ArgumentSemantic.Strong)]
- NSNumber NetworkSettledTime { get; }
-
- [Export ("performance", ArgumentSemantic.Strong)]
- DDRUMViewEventViewPerformance Performance { get; }
-
- [Export ("slowFrames", ArgumentSemantic.Copy)]
- DDRUMViewEventViewSlowFrames[] SlowFrames { get; }
-
- [Export ("slowFramesRate", ArgumentSemantic.Strong)]
- NSNumber SlowFramesRate { get; }
- }
-
- // @interface DDRUMViewEventViewAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMViewEventViewAction")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewAction
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMViewEventViewCrash : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMViewEventViewCrash")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewCrash
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMViewEventViewError : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDRUMViewEventViewError")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewError
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMViewEventViewFlutterBuildTime : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc34DDRUMViewEventViewFlutterBuildTime")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewFlutterBuildTime
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull average;
- [Export ("average", ArgumentSemantic.Strong)]
- NSNumber Average { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull max;
- [Export ("max", ArgumentSemantic.Strong)]
- NSNumber Max { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable metricMax;
- [NullAllowed, Export ("metricMax", ArgumentSemantic.Strong)]
- NSNumber MetricMax { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull min;
- [Export ("min", ArgumentSemantic.Strong)]
- NSNumber Min { get; }
- }
-
- // @interface DDRUMViewEventViewFlutterRasterTime : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc35DDRUMViewEventViewFlutterRasterTime")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewFlutterRasterTime
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull average;
- [Export ("average", ArgumentSemantic.Strong)]
- NSNumber Average { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull max;
- [Export ("max", ArgumentSemantic.Strong)]
- NSNumber Max { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable metricMax;
- [NullAllowed, Export ("metricMax", ArgumentSemantic.Strong)]
- NSNumber MetricMax { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull min;
- [Export ("min", ArgumentSemantic.Strong)]
- NSNumber Min { get; }
- }
-
- // @interface DDRUMViewEventViewFrozenFrame : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMViewEventViewFrozenFrame")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewFrozenFrame
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMViewEventViewFrustration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDRUMViewEventViewFrustration")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewFrustration
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMViewEventViewInForegroundPeriods : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc37DDRUMViewEventViewInForegroundPeriods")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewInForegroundPeriods
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull duration;
- [Export ("duration", ArgumentSemantic.Strong)]
- NSNumber Duration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull start;
- [Export ("start", ArgumentSemantic.Strong)]
- NSNumber Start { get; }
- }
-
- // @interface DDRUMViewEventViewJsRefreshRate : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc31DDRUMViewEventViewJsRefreshRate")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewJsRefreshRate
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull average;
- [Export ("average", ArgumentSemantic.Strong)]
- NSNumber Average { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull max;
- [Export ("max", ArgumentSemantic.Strong)]
- NSNumber Max { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable metricMax;
- [NullAllowed, Export ("metricMax", ArgumentSemantic.Strong)]
- NSNumber MetricMax { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull min;
- [Export ("min", ArgumentSemantic.Strong)]
- NSNumber Min { get; }
- }
-
- // @interface DDRUMViewEventViewLongTask : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc26DDRUMViewEventViewLongTask")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewLongTask
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMViewEventViewResource : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc26DDRUMViewEventViewResource")]
- [DisableDefaultCtor]
- interface DDRUMViewEventViewResource
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull count;
- [Export ("count", ArgumentSemantic.Strong)]
- NSNumber Count { get; }
- }
-
- // @interface DDRUMVitalEvent : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc15DDRUMVitalEvent")]
- [DisableDefaultCtor]
- interface DDRUMVitalEvent
- {
- // @property (readonly, nonatomic, strong) DDRUMVitalEventDD * _Nonnull dd;
- [Export ("dd", ArgumentSemantic.Strong)]
- DDRUMVitalEventDD Dd { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventApplication * _Nonnull application;
- [Export ("application", ArgumentSemantic.Strong)]
- DDRUMVitalEventApplication Application { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildId;
- [NullAllowed, Export ("buildId")]
- string BuildId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable buildVersion;
- [NullAllowed, Export ("buildVersion")]
- string BuildVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventRUMCITest * _Nullable ciTest;
- [NullAllowed, Export ("ciTest", ArgumentSemantic.Strong)]
- DDRUMVitalEventRUMCITest CiTest { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventRUMConnectivity * _Nullable connectivity;
- [NullAllowed, Export ("connectivity", ArgumentSemantic.Strong)]
- DDRUMVitalEventRUMConnectivity Connectivity { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventContainer * _Nullable container;
- [NullAllowed, Export ("container", ArgumentSemantic.Strong)]
- DDRUMVitalEventContainer Container { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventRUMEventAttributes * _Nullable context;
- [NullAllowed, Export ("context", ArgumentSemantic.Strong)]
- DDRUMVitalEventRUMEventAttributes Context { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull date;
- [Export ("date", ArgumentSemantic.Strong)]
- NSNumber Date { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventRUMDevice * _Nullable device;
- [NullAllowed, Export ("device", ArgumentSemantic.Strong)]
- DDRUMVitalEventRUMDevice Device { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventDisplay * _Nullable display;
- [NullAllowed, Export ("display", ArgumentSemantic.Strong)]
- DDRUMVitalEventDisplay Display { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventRUMOperatingSystem * _Nullable os;
- [NullAllowed, Export ("os", ArgumentSemantic.Strong)]
- DDRUMVitalEventRUMOperatingSystem Os { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable service;
- [NullAllowed, Export ("service")]
- string Service { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventSession * _Nonnull session;
- [Export ("session", ArgumentSemantic.Strong)]
- DDRUMVitalEventSession Session { get; }
-
- // @property (readonly, nonatomic) enum DDRUMVitalEventSource source;
- [Export ("source")]
- DDRUMVitalEventSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventRUMSyntheticsTest * _Nullable synthetics;
- [NullAllowed, Export ("synthetics", ArgumentSemantic.Strong)]
- DDRUMVitalEventRUMSyntheticsTest Synthetics { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventRUMUser * _Nullable usr;
- [NullAllowed, Export ("usr", ArgumentSemantic.Strong)]
- DDRUMVitalEventRUMUser Usr { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable version;
- [NullAllowed, Export ("version")]
- string Version { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMVitalEventView View { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventVital * _Nonnull vital;
- [Export ("vital", ArgumentSemantic.Strong)]
- DDRUMVitalEventVital Vital { get; }
-
- [Export ("account", ArgumentSemantic.Strong)]
- DDRUMVitalEventRUMAccount Account { get; }
-
- [Export ("ddtags", ArgumentSemantic.Copy)]
- string Ddtags { get; }
- }
-
- // @interface DDRUMVitalEventApplication : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc26DDRUMVitalEventApplication")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventApplication
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- [Export ("currentLocale", ArgumentSemantic.Copy)]
- string CurrentLocale { get; }
- }
-
- // @interface DDRUMVitalEventContainer : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMVitalEventContainer")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventContainer
- {
- // @property (readonly, nonatomic) enum DDRUMVitalEventContainerSource source;
- [Export ("source")]
- DDRUMVitalEventContainerSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventContainerView * _Nonnull view;
- [Export ("view", ArgumentSemantic.Strong)]
- DDRUMVitalEventContainerView View { get; }
- }
-
- // @interface DDRUMVitalEventContainerView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc28DDRUMVitalEventContainerView")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventContainerView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDRUMVitalEventDD : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc17DDRUMVitalEventDD")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventDD
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable browserSdkVersion;
- [NullAllowed, Export ("browserSdkVersion")]
- string BrowserSdkVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventDDConfiguration * _Nullable configuration;
- [NullAllowed, Export ("configuration", ArgumentSemantic.Strong)]
- DDRUMVitalEventDDConfiguration Configuration { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull formatVersion;
- [Export ("formatVersion", ArgumentSemantic.Strong)]
- NSNumber FormatVersion { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventDDSession * _Nullable session;
- [NullAllowed, Export ("session", ArgumentSemantic.Strong)]
- DDRUMVitalEventDDSession Session { get; }
-
- // @property (readonly, nonatomic, strong) DDRUMVitalEventDDVital * _Nullable vital;
- [NullAllowed, Export ("vital", ArgumentSemantic.Strong)]
- DDRUMVitalEventDDVital Vital { get; }
-
- [Export ("sdkName", ArgumentSemantic.Copy)]
- string SdkName { get; }
- }
-
- // @interface DDRUMVitalEventDDConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDRUMVitalEventDDConfiguration")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventDDConfiguration
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable sessionReplaySampleRate;
- [NullAllowed, Export ("sessionReplaySampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionReplaySampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull sessionSampleRate;
- [Export ("sessionSampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionSampleRate { get; }
-
- [Export ("profilingSampleRate", ArgumentSemantic.Strong)]
- NSNumber ProfilingSampleRate { get; }
- }
-
- // @interface DDRUMVitalEventDDSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMVitalEventDDSession")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventDDSession
- {
- // @property (readonly, nonatomic) enum DDRUMVitalEventDDSessionPlan plan;
- [Export ("plan")]
- DDRUMVitalEventDDSessionPlan Plan { get; }
-
- // @property (readonly, nonatomic) enum DDRUMVitalEventDDSessionRUMSessionPrecondition sessionPrecondition;
- [Export ("sessionPrecondition")]
- DDRUMVitalEventDDSessionRUMSessionPrecondition SessionPrecondition { get; }
- }
-
- // @interface DDRUMVitalEventDDVital : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMVitalEventDDVital")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventDDVital
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable computedValue;
- [NullAllowed, Export ("computedValue", ArgumentSemantic.Strong)]
- NSNumber ComputedValue { get; }
- }
-
- // @interface DDRUMVitalEventDisplay : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMVitalEventDisplay")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventDisplay
- {
- // @property (readonly, nonatomic, strong) DDRUMVitalEventDisplayViewport * _Nullable viewport;
- [NullAllowed, Export ("viewport", ArgumentSemantic.Strong)]
- DDRUMVitalEventDisplayViewport Viewport { get; }
- }
-
- // @interface DDRUMVitalEventDisplayViewport : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDRUMVitalEventDisplayViewport")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventDisplayViewport
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull height;
- [Export ("height", ArgumentSemantic.Strong)]
- NSNumber Height { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull width;
- [Export ("width", ArgumentSemantic.Strong)]
- NSNumber Width { get; }
- }
-
- // @interface DDRUMVitalEventRUMCITest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMVitalEventRUMCITest")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventRUMCITest
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testExecutionId;
- [Export ("testExecutionId")]
- string TestExecutionId { get; }
- }
-
- // @interface DDRUMVitalEventRUMConnectivity : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDRUMVitalEventRUMConnectivity")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventRUMConnectivity
- {
- // @property (readonly, nonatomic, strong) DDRUMVitalEventRUMConnectivityCellular * _Nullable cellular;
- [NullAllowed, Export ("cellular", ArgumentSemantic.Strong)]
- DDRUMVitalEventRUMConnectivityCellular Cellular { get; }
-
- // @property (readonly, nonatomic) enum DDRUMVitalEventRUMConnectivityEffectiveType effectiveType;
- [Export ("effectiveType")]
- DDRUMVitalEventRUMConnectivityEffectiveType EffectiveType { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable interfaces;
- [NullAllowed, Export ("interfaces", ArgumentSemantic.Copy)]
- NSNumber[] Interfaces { get; }
-
- // @property (readonly, nonatomic) enum DDRUMVitalEventRUMConnectivityStatus status;
- [Export ("status")]
- DDRUMVitalEventRUMConnectivityStatus Status { get; }
- }
-
- // @interface DDRUMVitalEventRUMConnectivityCellular : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc38DDRUMVitalEventRUMConnectivityCellular")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventRUMConnectivityCellular
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable carrierName;
- [NullAllowed, Export ("carrierName")]
- string CarrierName { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable technology;
- [NullAllowed, Export ("technology")]
- string Technology { get; }
- }
-
- // @interface DDRUMVitalEventRUMDevice : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc24DDRUMVitalEventRUMDevice")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventRUMDevice
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable architecture;
- [NullAllowed, Export ("architecture")]
- string Architecture { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable brand;
- [NullAllowed, Export ("brand")]
- string Brand { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable model;
- [NullAllowed, Export ("model")]
- string Model { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, nonatomic) enum DDRUMVitalEventRUMDeviceRUMDeviceType type;
- [Export ("type")]
- DDRUMVitalEventRUMDeviceRUMDeviceType Type { get; }
-
- [Export ("batteryLevel", ArgumentSemantic.Strong)]
- NSNumber BatteryLevel { get; }
-
- [Export ("brightnessLevel", ArgumentSemantic.Strong)]
- NSNumber BrightnessLevel { get; }
-
- [Export ("locale", ArgumentSemantic.Copy)]
- string Locale { get; }
-
- [Export ("locales", ArgumentSemantic.Copy)]
- string[] Locales { get; }
-
- [Export ("powerSavingMode", ArgumentSemantic.Strong)]
- NSNumber PowerSavingMode { get; }
-
- [Export ("timeZone", ArgumentSemantic.Copy)]
- string TimeZone { get; }
- }
-
- // @interface DDRUMVitalEventRUMEventAttributes : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMVitalEventRUMEventAttributes")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventRUMEventAttributes
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull contextInfo;
- [Export ("contextInfo", ArgumentSemantic.Copy)]
- NSDictionary ContextInfo { get; }
- }
-
- // @interface DDRUMVitalEventRUMOperatingSystem : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDRUMVitalEventRUMOperatingSystem")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventRUMOperatingSystem
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable build;
- [NullAllowed, Export ("build")]
- string Build { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull version;
- [Export ("version")]
- string Version { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull versionMajor;
- [Export ("versionMajor")]
- string VersionMajor { get; }
- }
-
- // @interface DDRUMVitalEventRUMSyntheticsTest : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc32DDRUMVitalEventRUMSyntheticsTest")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventRUMSyntheticsTest
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable injected;
- [NullAllowed, Export ("injected", ArgumentSemantic.Strong)]
- NSNumber Injected { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull resultId;
- [Export ("resultId")]
- string ResultId { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull testId;
- [Export ("testId")]
- string TestId { get; }
- }
-
- // @interface DDRUMVitalEventRUMUser : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMVitalEventRUMUser")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventRUMUser
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable email;
- [NullAllowed, Export ("email")]
- string Email { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable id;
- [NullAllowed, Export ("id")]
- string Id { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull usrInfo;
- [Export ("usrInfo", ArgumentSemantic.Copy)]
- NSDictionary UsrInfo { get; }
-
- [Export ("anonymousId", ArgumentSemantic.Copy)]
- string AnonymousId { get; }
- }
-
- // @interface DDRUMVitalEventSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc22DDRUMVitalEventSession")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventSession
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable hasReplay;
- [NullAllowed, Export ("hasReplay", ArgumentSemantic.Strong)]
- NSNumber HasReplay { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, nonatomic) enum DDRUMVitalEventSessionRUMSessionType type;
- [Export ("type")]
- DDRUMVitalEventSessionRUMSessionType Type { get; }
- }
-
- // @interface DDRUMVitalEventView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc19DDRUMVitalEventView")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable referrer;
- [NullAllowed, Export ("referrer")]
- string Referrer { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nonnull url;
- [Export ("url")]
- string Url { get; set; }
- }
-
- // @interface DDRUMVitalEventVital : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc20DDRUMVitalEventVital")]
- [DisableDefaultCtor]
- interface DDRUMVitalEventVital
- {
- // @property (readonly, copy, nonatomic) NSDictionary * _Nullable custom;
- [NullAllowed, Export ("custom", ArgumentSemantic.Copy)]
- NSDictionary Custom { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, nonatomic) enum DDRUMVitalEventVitalVitalType type;
- [Export ("type")]
- DDRUMVitalEventVitalVitalType Type { get; }
-
- [Export ("vitalDescription", ArgumentSemantic.Copy)]
- string VitalDescription { get; }
-
- [Export ("failureReason")]
- DDRUMVitalEventVitalFailureReason FailureReason { get; }
-
- [Export ("parentId", ArgumentSemantic.Copy)]
- string ParentId { get; }
-
- [Export ("stepType")]
- DDRUMVitalEventVitalStepType StepType { get; }
- }
-
- // @protocol DDServerDateProvider
- /*
- Check whether adding [Model] to this declaration is appropriate.
- [Model] is used to generate a C# class that implements this protocol,
- and might be useful for protocols that consumers are supposed to implement,
- since consumers can subclass the generated class instead of implementing
- the generated interface. If consumers are not supposed to implement this
- protocol, then [Model] is redundant and will generate code that will never
- be used.
-*/[Protocol (Name = "_TtP11DatadogObjc20DDServerDateProvider_")]
- [BaseType(typeof(NSObject))]
- interface DDServerDateProvider
- {
- // @required -(void)synchronizeWithUpdate:(void (^ _Nonnull)(NSTimeInterval))update;
- [Abstract]
- [Export ("synchronizeWithUpdate:")]
- void SynchronizeWithUpdate (Action update);
- }
-
-
-
- // @interface DDSite : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc6DDSite")]
- [DisableDefaultCtor]
- public interface DDSite
- {
- // +(DDSite * _Nonnull)us1 __attribute__((warn_unused_result("")));
- [Static]
- [Export ("us1")]
- DDSite Us1 { get; }
-
- // +(DDSite * _Nonnull)us3 __attribute__((warn_unused_result("")));
- [Static]
- [Export ("us3")]
- DDSite Us3 { get; }
-
- // +(DDSite * _Nonnull)us5 __attribute__((warn_unused_result("")));
- [Static]
- [Export ("us5")]
- DDSite Us5 { get; }
-
- // +(DDSite * _Nonnull)eu1 __attribute__((warn_unused_result("")));
- [Static]
- [Export ("eu1")]
- DDSite Eu1 { get; }
-
- // +(DDSite * _Nonnull)ap1 __attribute__((warn_unused_result("")));
- [Static]
- [Export ("ap1")]
- DDSite Ap1 { get; }
-
- // +(DDSite * _Nonnull)us1_fed __attribute__((warn_unused_result("")));
- [Static]
- [Export ("us1_fed")]
- DDSite Us1_fed { get; }
-
- [Static]
- [Export ("ap2")]
- DDSite Ap2 { get; }
- }
-
- // @interface DDTelemetryConfigurationEvent : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc29DDTelemetryConfigurationEvent")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEvent
- {
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventDD * _Nonnull dd;
- [Export ("dd", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventDD Dd { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventAction * _Nullable action;
- [NullAllowed, Export ("action", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventAction Action { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventApplication * _Nullable application;
- [NullAllowed, Export ("application", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventApplication Application { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull date;
- [Export ("date", ArgumentSemantic.Strong)]
- NSNumber Date { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable experimentalFeatures;
- [NullAllowed, Export ("experimentalFeatures", ArgumentSemantic.Copy)]
- string[] ExperimentalFeatures { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull service;
- [Export ("service")]
- string Service { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventSession * _Nullable session;
- [NullAllowed, Export ("session", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventSession Session { get; }
-
- // @property (readonly, nonatomic) enum DDTelemetryConfigurationEventSource source;
- [Export ("source")]
- DDTelemetryConfigurationEventSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventTelemetry * _Nonnull telemetry;
- [Export ("telemetry", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventTelemetry Telemetry { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull version;
- [Export ("version")]
- string Version { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventView * _Nullable view;
- [NullAllowed, Export ("view", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventView View { get; }
-
- [Export ("effectiveSampleRate", ArgumentSemantic.Strong)]
- NSNumber EffectiveSampleRate { get; }
- }
-
- // @interface DDTelemetryConfigurationEventAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc35DDTelemetryConfigurationEventAction")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventAction
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryConfigurationEventApplication : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc40DDTelemetryConfigurationEventApplication")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventApplication
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryConfigurationEventDD : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc31DDTelemetryConfigurationEventDD")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventDD
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull formatVersion;
- [Export ("formatVersion", ArgumentSemantic.Strong)]
- NSNumber FormatVersion { get; }
- }
-
- // @interface DDTelemetryConfigurationEventSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc36DDTelemetryConfigurationEventSession")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventSession
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryConfigurationEventTelemetry : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc38DDTelemetryConfigurationEventTelemetry")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventTelemetry
- {
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventTelemetryConfiguration * _Nonnull configuration;
- [Export ("configuration", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventTelemetryConfiguration Configuration { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventTelemetryRUMTelemetryDevice * _Nullable device;
- [NullAllowed, Export ("device", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventTelemetryRUMTelemetryDevice Device { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventTelemetryRUMTelemetryOperatingSystem * _Nullable os;
- [NullAllowed, Export ("os", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventTelemetryRUMTelemetryOperatingSystem Os { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull telemetryInfo;
- [Export ("telemetryInfo", ArgumentSemantic.Copy)]
- NSDictionary TelemetryInfo { get; }
- }
-
- // @interface DDTelemetryConfigurationEventTelemetryConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc51DDTelemetryConfigurationEventTelemetryConfiguration")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventTelemetryConfiguration
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable actionNameAttribute;
- [NullAllowed, Export ("actionNameAttribute")]
- string ActionNameAttribute { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable allowFallbackToLocalStorage;
- [NullAllowed, Export ("allowFallbackToLocalStorage", ArgumentSemantic.Strong)]
- NSNumber AllowFallbackToLocalStorage { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable allowUntrustedEvents;
- [NullAllowed, Export ("allowUntrustedEvents", ArgumentSemantic.Strong)]
- NSNumber AllowUntrustedEvents { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable appHangThreshold;
- [NullAllowed, Export ("appHangThreshold", ArgumentSemantic.Strong)]
- NSNumber AppHangThreshold { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable backgroundTasksEnabled;
- [NullAllowed, Export ("backgroundTasksEnabled", ArgumentSemantic.Strong)]
- NSNumber BackgroundTasksEnabled { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable batchProcessingLevel;
- [NullAllowed, Export ("batchProcessingLevel", ArgumentSemantic.Strong)]
- NSNumber BatchProcessingLevel { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable batchSize;
- [NullAllowed, Export ("batchSize", ArgumentSemantic.Strong)]
- NSNumber BatchSize { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable batchUploadFrequency;
- [NullAllowed, Export ("batchUploadFrequency", ArgumentSemantic.Strong)]
- NSNumber BatchUploadFrequency { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable compressIntakeRequests;
- [NullAllowed, Export ("compressIntakeRequests", ArgumentSemantic.Strong)]
- NSNumber CompressIntakeRequests { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable dartVersion;
- [NullAllowed, Export ("dartVersion")]
- string DartVersion { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable defaultPrivacyLevel;
- [NullAllowed, Export ("defaultPrivacyLevel")]
- string DefaultPrivacyLevel { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable enablePrivacyForActionName;
- [NullAllowed, Export ("enablePrivacyForActionName", ArgumentSemantic.Strong)]
- NSNumber EnablePrivacyForActionName { get; set; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventTelemetryConfigurationForwardConsoleLogs * _Nullable forwardConsoleLogs;
- [NullAllowed, Export ("forwardConsoleLogs", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventTelemetryConfigurationForwardConsoleLogs ForwardConsoleLogs { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable forwardErrorsToLogs;
- [NullAllowed, Export ("forwardErrorsToLogs", ArgumentSemantic.Strong)]
- NSNumber ForwardErrorsToLogs { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryConfigurationEventTelemetryConfigurationForwardReports * _Nullable forwardReports;
- [NullAllowed, Export ("forwardReports", ArgumentSemantic.Strong)]
- DDTelemetryConfigurationEventTelemetryConfigurationForwardReports ForwardReports { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable initializationType;
- [NullAllowed, Export ("initializationType")]
- string InitializationType { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable mobileVitalsUpdatePeriod;
- [NullAllowed, Export ("mobileVitalsUpdatePeriod", ArgumentSemantic.Strong)]
- NSNumber MobileVitalsUpdatePeriod { get; set; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable plugins;
- [NullAllowed, Export ("plugins", ArgumentSemantic.Copy)]
- DDTelemetryConfigurationEventTelemetryConfigurationPlugins[] Plugins { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable premiumSampleRate;
- [NullAllowed, Export ("premiumSampleRate", ArgumentSemantic.Strong)]
- NSNumber PremiumSampleRate { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable reactNativeVersion;
- [NullAllowed, Export ("reactNativeVersion")]
- string ReactNativeVersion { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable reactVersion;
- [NullAllowed, Export ("reactVersion")]
- string ReactVersion { get; set; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable replaySampleRate;
- [NullAllowed, Export ("replaySampleRate", ArgumentSemantic.Strong)]
- NSNumber ReplaySampleRate { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable selectedTracingPropagators;
- [NullAllowed, Export ("selectedTracingPropagators", ArgumentSemantic.Copy)]
- NSNumber[] SelectedTracingPropagators { get; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable sendLogsAfterSessionExpiration;
- [NullAllowed, Export ("sendLogsAfterSessionExpiration", ArgumentSemantic.Strong)]
- NSNumber SendLogsAfterSessionExpiration { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable sessionReplaySampleRate;
- [NullAllowed, Export ("sessionReplaySampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionReplaySampleRate { get; set; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable sessionSampleRate;
- [NullAllowed, Export ("sessionSampleRate", ArgumentSemantic.Strong)]
- NSNumber SessionSampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable silentMultipleInit;
- [NullAllowed, Export ("silentMultipleInit", ArgumentSemantic.Strong)]
- NSNumber SilentMultipleInit { get; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable startSessionReplayRecordingManually;
- [NullAllowed, Export ("startSessionReplayRecordingManually", ArgumentSemantic.Strong)]
- NSNumber StartSessionReplayRecordingManually { get; set; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable storeContextsAcrossPages;
- [NullAllowed, Export ("storeContextsAcrossPages", ArgumentSemantic.Strong)]
- NSNumber StoreContextsAcrossPages { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable telemetryConfigurationSampleRate;
- [NullAllowed, Export ("telemetryConfigurationSampleRate", ArgumentSemantic.Strong)]
- NSNumber TelemetryConfigurationSampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable telemetrySampleRate;
- [NullAllowed, Export ("telemetrySampleRate", ArgumentSemantic.Strong)]
- NSNumber TelemetrySampleRate { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable telemetryUsageSampleRate;
- [NullAllowed, Export ("telemetryUsageSampleRate", ArgumentSemantic.Strong)]
- NSNumber TelemetryUsageSampleRate { get; }
-
- // @property (nonatomic) enum DDTelemetryConfigurationEventTelemetryConfigurationTraceContextInjection traceContextInjection;
- [Export ("traceContextInjection", ArgumentSemantic.Assign)]
- DDTelemetryConfigurationEventTelemetryConfigurationTraceContextInjection TraceContextInjection { get; set; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable traceSampleRate;
- [NullAllowed, Export ("traceSampleRate", ArgumentSemantic.Strong)]
- NSNumber TraceSampleRate { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable tracerApi;
- [NullAllowed, Export ("tracerApi")]
- string TracerApi { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable tracerApiVersion;
- [NullAllowed, Export ("tracerApiVersion")]
- string TracerApiVersion { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackBackgroundEvents;
- [NullAllowed, Export ("trackBackgroundEvents", ArgumentSemantic.Strong)]
- NSNumber TrackBackgroundEvents { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackCrossPlatformLongTasks;
- [NullAllowed, Export ("trackCrossPlatformLongTasks", ArgumentSemantic.Strong)]
- NSNumber TrackCrossPlatformLongTasks { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackErrors;
- [NullAllowed, Export ("trackErrors", ArgumentSemantic.Strong)]
- NSNumber TrackErrors { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackFlutterPerformance;
- [NullAllowed, Export ("trackFlutterPerformance", ArgumentSemantic.Strong)]
- NSNumber TrackFlutterPerformance { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackFrustrations;
- [NullAllowed, Export ("trackFrustrations", ArgumentSemantic.Strong)]
- NSNumber TrackFrustrations { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackInteractions;
- [NullAllowed, Export ("trackInteractions", ArgumentSemantic.Strong)]
- NSNumber TrackInteractions { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackLongTask;
- [NullAllowed, Export ("trackLongTask", ArgumentSemantic.Strong)]
- NSNumber TrackLongTask { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackNativeErrors;
- [NullAllowed, Export ("trackNativeErrors", ArgumentSemantic.Strong)]
- NSNumber TrackNativeErrors { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackNativeLongTasks;
- [NullAllowed, Export ("trackNativeLongTasks", ArgumentSemantic.Strong)]
- NSNumber TrackNativeLongTasks { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackNativeViews;
- [NullAllowed, Export ("trackNativeViews", ArgumentSemantic.Strong)]
- NSNumber TrackNativeViews { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackNetworkRequests;
- [NullAllowed, Export ("trackNetworkRequests", ArgumentSemantic.Strong)]
- NSNumber TrackNetworkRequests { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackResources;
- [NullAllowed, Export ("trackResources", ArgumentSemantic.Strong)]
- NSNumber TrackResources { get; set; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable trackSessionAcrossSubdomains;
- [NullAllowed, Export ("trackSessionAcrossSubdomains", ArgumentSemantic.Strong)]
- NSNumber TrackSessionAcrossSubdomains { get; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackUserInteractions;
- [NullAllowed, Export ("trackUserInteractions", ArgumentSemantic.Strong)]
- NSNumber TrackUserInteractions { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable trackViewsManually;
- [NullAllowed, Export ("trackViewsManually", ArgumentSemantic.Strong)]
- NSNumber TrackViewsManually { get; set; }
-
- // @property (readonly, nonatomic) enum DDTelemetryConfigurationEventTelemetryConfigurationTrackingConsent trackingConsent;
- [Export ("trackingConsent")]
- DDTelemetryConfigurationEventTelemetryConfigurationTrackingConsent TrackingConsent { get; }
-
- // @property (copy, nonatomic) NSString * _Nullable unityVersion;
- [NullAllowed, Export ("unityVersion")]
- string UnityVersion { get; set; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable useAllowedTracingOrigins;
- [NullAllowed, Export ("useAllowedTracingOrigins", ArgumentSemantic.Strong)]
- NSNumber UseAllowedTracingOrigins { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable useAllowedTracingUrls;
- [NullAllowed, Export ("useAllowedTracingUrls", ArgumentSemantic.Strong)]
- NSNumber UseAllowedTracingUrls { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable useBeforeSend;
- [NullAllowed, Export ("useBeforeSend", ArgumentSemantic.Strong)]
- NSNumber UseBeforeSend { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable useCrossSiteSessionCookie;
- [NullAllowed, Export ("useCrossSiteSessionCookie", ArgumentSemantic.Strong)]
- NSNumber UseCrossSiteSessionCookie { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable useExcludedActivityUrls;
- [NullAllowed, Export ("useExcludedActivityUrls", ArgumentSemantic.Strong)]
- NSNumber UseExcludedActivityUrls { get; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable useFirstPartyHosts;
- [NullAllowed, Export ("useFirstPartyHosts", ArgumentSemantic.Strong)]
- NSNumber UseFirstPartyHosts { get; set; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable useLocalEncryption;
- [NullAllowed, Export ("useLocalEncryption", ArgumentSemantic.Strong)]
- NSNumber UseLocalEncryption { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable usePartitionedCrossSiteSessionCookie;
- [NullAllowed, Export ("usePartitionedCrossSiteSessionCookie", ArgumentSemantic.Strong)]
- NSNumber UsePartitionedCrossSiteSessionCookie { get; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable usePciIntake;
- [NullAllowed, Export ("usePciIntake", ArgumentSemantic.Strong)]
- NSNumber UsePciIntake { get; set; }
-
- // @property (nonatomic, strong) NSNumber * _Nullable useProxy;
- [NullAllowed, Export ("useProxy", ArgumentSemantic.Strong)]
- NSNumber UseProxy { get; set; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable useSecureSessionCookie;
- [NullAllowed, Export ("useSecureSessionCookie", ArgumentSemantic.Strong)]
- NSNumber UseSecureSessionCookie { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable useTracing;
- [NullAllowed, Export ("useTracing", ArgumentSemantic.Strong)]
- NSNumber UseTracing { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nullable useWorkerUrl;
- [NullAllowed, Export ("useWorkerUrl", ArgumentSemantic.Strong)]
- NSNumber UseWorkerUrl { get; }
-
- // @property (readonly, nonatomic) enum DDTelemetryConfigurationEventTelemetryConfigurationViewTrackingStrategy viewTrackingStrategy;
- [Export ("viewTrackingStrategy")]
- DDTelemetryConfigurationEventTelemetryConfigurationViewTrackingStrategy ViewTrackingStrategy { get; }
-
- [Export ("invTimeThresholdMs", ArgumentSemantic.Strong)]
- NSNumber InvTimeThresholdMs { get; }
-
- [Export ("isMainProcess", ArgumentSemantic.Strong)]
- NSNumber IsMainProcess { get; }
-
- [Export ("numberOfDisplays", ArgumentSemantic.Strong)]
- NSNumber NumberOfDisplays { get; }
-
- [Export ("sessionPersistence")]
- DDTelemetryConfigurationEventTelemetryConfigurationSessionPersistence SessionPersistence { get; }
-
- [Export ("swiftuiActionTrackingEnabled", ArgumentSemantic.Strong)]
- NSNumber SwiftuiActionTrackingEnabled { get; set; }
-
- [Export ("swiftuiViewTrackingEnabled", ArgumentSemantic.Strong)]
- NSNumber SwiftuiViewTrackingEnabled { get; set; }
-
- [Export ("tnsTimeThresholdMs", ArgumentSemantic.Strong)]
- NSNumber TnsTimeThresholdMs { get; }
-
- [Export ("trackAnonymousUser", ArgumentSemantic.Strong)]
- NSNumber TrackAnonymousUser { get; set; }
-
- [Export ("trackBfcacheViews", ArgumentSemantic.Strong)]
- NSNumber TrackBfcacheViews { get; set; }
-
- [Export ("trackFeatureFlagsForEvents", ArgumentSemantic.Copy)]
- NSNumber[] TrackFeatureFlagsForEvents { get; }
-
- [Export ("useAllowedTrackingOrigins", ArgumentSemantic.Strong)]
- NSNumber UseAllowedTrackingOrigins { get; set; }
- }
-
- // @interface DDTelemetryConfigurationEventTelemetryConfigurationForwardConsoleLogs : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc69DDTelemetryConfigurationEventTelemetryConfigurationForwardConsoleLogs")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventTelemetryConfigurationForwardConsoleLogs
- {
- // @property (readonly, copy, nonatomic) NSArray * _Nullable stringsArray;
- [NullAllowed, Export ("stringsArray", ArgumentSemantic.Copy)]
- string[] StringsArray { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable string;
- [NullAllowed, Export ("string")]
- string String { get; }
- }
-
- // @interface DDTelemetryConfigurationEventTelemetryConfigurationForwardReports : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc65DDTelemetryConfigurationEventTelemetryConfigurationForwardReports")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventTelemetryConfigurationForwardReports
- {
- // @property (readonly, copy, nonatomic) NSArray * _Nullable stringsArray;
- [NullAllowed, Export ("stringsArray", ArgumentSemantic.Copy)]
- string[] StringsArray { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable string;
- [NullAllowed, Export ("string")]
- string String { get; }
- }
-
- // @interface DDTelemetryConfigurationEventTelemetryConfigurationPlugins : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc58DDTelemetryConfigurationEventTelemetryConfigurationPlugins")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventTelemetryConfigurationPlugins
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull name;
- [Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull pluginsInfo;
- [Export ("pluginsInfo", ArgumentSemantic.Copy)]
- NSDictionary PluginsInfo { get; }
- }
-
- // @interface DDTelemetryConfigurationEventTelemetryRUMTelemetryDevice : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc56DDTelemetryConfigurationEventTelemetryRUMTelemetryDevice")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventTelemetryRUMTelemetryDevice
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable architecture;
- [NullAllowed, Export ("architecture")]
- string Architecture { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable brand;
- [NullAllowed, Export ("brand")]
- string Brand { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable model;
- [NullAllowed, Export ("model")]
- string Model { get; }
- }
-
- // @interface DDTelemetryConfigurationEventTelemetryRUMTelemetryOperatingSystem : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc65DDTelemetryConfigurationEventTelemetryRUMTelemetryOperatingSystem")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventTelemetryRUMTelemetryOperatingSystem
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable build;
- [NullAllowed, Export ("build")]
- string Build { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable version;
- [NullAllowed, Export ("version")]
- string Version { get; }
- }
-
- // @interface DDTelemetryConfigurationEventView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc33DDTelemetryConfigurationEventView")]
- [DisableDefaultCtor]
- interface DDTelemetryConfigurationEventView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryDebugEvent : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDTelemetryDebugEvent")]
- [DisableDefaultCtor]
- interface DDTelemetryDebugEvent
- {
- // @property (readonly, nonatomic, strong) DDTelemetryDebugEventDD * _Nonnull dd;
- [Export ("dd", ArgumentSemantic.Strong)]
- DDTelemetryDebugEventDD Dd { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryDebugEventAction * _Nullable action;
- [NullAllowed, Export ("action", ArgumentSemantic.Strong)]
- DDTelemetryDebugEventAction Action { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryDebugEventApplication * _Nullable application;
- [NullAllowed, Export ("application", ArgumentSemantic.Strong)]
- DDTelemetryDebugEventApplication Application { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull date;
- [Export ("date", ArgumentSemantic.Strong)]
- NSNumber Date { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable experimentalFeatures;
- [NullAllowed, Export ("experimentalFeatures", ArgumentSemantic.Copy)]
- string[] ExperimentalFeatures { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull service;
- [Export ("service")]
- string Service { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryDebugEventSession * _Nullable session;
- [NullAllowed, Export ("session", ArgumentSemantic.Strong)]
- DDTelemetryDebugEventSession Session { get; }
-
- // @property (readonly, nonatomic) enum DDTelemetryDebugEventSource source;
- [Export ("source")]
- DDTelemetryDebugEventSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryDebugEventTelemetry * _Nonnull telemetry;
- [Export ("telemetry", ArgumentSemantic.Strong)]
- DDTelemetryDebugEventTelemetry Telemetry { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull version;
- [Export ("version")]
- string Version { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryDebugEventView * _Nullable view;
- [NullAllowed, Export ("view", ArgumentSemantic.Strong)]
- DDTelemetryDebugEventView View { get; }
-
- [Export ("effectiveSampleRate", ArgumentSemantic.Strong)]
- NSNumber EffectiveSampleRate { get; }
- }
-
- // @interface DDTelemetryDebugEventAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDTelemetryDebugEventAction")]
- [DisableDefaultCtor]
- interface DDTelemetryDebugEventAction
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryDebugEventApplication : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc32DDTelemetryDebugEventApplication")]
- [DisableDefaultCtor]
- interface DDTelemetryDebugEventApplication
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryDebugEventDD : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDTelemetryDebugEventDD")]
- [DisableDefaultCtor]
- interface DDTelemetryDebugEventDD
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull formatVersion;
- [Export ("formatVersion", ArgumentSemantic.Strong)]
- NSNumber FormatVersion { get; }
- }
-
- // @interface DDTelemetryDebugEventSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc28DDTelemetryDebugEventSession")]
- [DisableDefaultCtor]
- interface DDTelemetryDebugEventSession
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryDebugEventTelemetry : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDTelemetryDebugEventTelemetry")]
- [DisableDefaultCtor]
- interface DDTelemetryDebugEventTelemetry
- {
- // @property (readonly, nonatomic, strong) DDTelemetryDebugEventTelemetryRUMTelemetryDevice * _Nullable device;
- [NullAllowed, Export ("device", ArgumentSemantic.Strong)]
- DDTelemetryDebugEventTelemetryRUMTelemetryDevice Device { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull message;
- [Export ("message")]
- string Message { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryDebugEventTelemetryRUMTelemetryOperatingSystem * _Nullable os;
- [NullAllowed, Export ("os", ArgumentSemantic.Strong)]
- DDTelemetryDebugEventTelemetryRUMTelemetryOperatingSystem Os { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull status;
- [Export ("status")]
- string Status { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable type;
- [NullAllowed, Export ("type")]
- string Type { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull telemetryInfo;
- [Export ("telemetryInfo", ArgumentSemantic.Copy)]
- NSDictionary TelemetryInfo { get; }
- }
-
- // @interface DDTelemetryDebugEventTelemetryRUMTelemetryDevice : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc48DDTelemetryDebugEventTelemetryRUMTelemetryDevice")]
- [DisableDefaultCtor]
- interface DDTelemetryDebugEventTelemetryRUMTelemetryDevice
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable architecture;
- [NullAllowed, Export ("architecture")]
- string Architecture { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable brand;
- [NullAllowed, Export ("brand")]
- string Brand { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable model;
- [NullAllowed, Export ("model")]
- string Model { get; }
- }
-
- // @interface DDTelemetryDebugEventTelemetryRUMTelemetryOperatingSystem : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc57DDTelemetryDebugEventTelemetryRUMTelemetryOperatingSystem")]
- [DisableDefaultCtor]
- interface DDTelemetryDebugEventTelemetryRUMTelemetryOperatingSystem
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable build;
- [NullAllowed, Export ("build")]
- string Build { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable version;
- [NullAllowed, Export ("version")]
- string Version { get; }
- }
-
- // @interface DDTelemetryDebugEventView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDTelemetryDebugEventView")]
- [DisableDefaultCtor]
- interface DDTelemetryDebugEventView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryErrorEvent : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc21DDTelemetryErrorEvent")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEvent
- {
- // @property (readonly, nonatomic, strong) DDTelemetryErrorEventDD * _Nonnull dd;
- [Export ("dd", ArgumentSemantic.Strong)]
- DDTelemetryErrorEventDD Dd { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryErrorEventAction * _Nullable action;
- [NullAllowed, Export ("action", ArgumentSemantic.Strong)]
- DDTelemetryErrorEventAction Action { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryErrorEventApplication * _Nullable application;
- [NullAllowed, Export ("application", ArgumentSemantic.Strong)]
- DDTelemetryErrorEventApplication Application { get; }
-
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull date;
- [Export ("date", ArgumentSemantic.Strong)]
- NSNumber Date { get; }
-
- // @property (readonly, copy, nonatomic) NSArray * _Nullable experimentalFeatures;
- [NullAllowed, Export ("experimentalFeatures", ArgumentSemantic.Copy)]
- string[] ExperimentalFeatures { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull service;
- [Export ("service")]
- string Service { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryErrorEventSession * _Nullable session;
- [NullAllowed, Export ("session", ArgumentSemantic.Strong)]
- DDTelemetryErrorEventSession Session { get; }
-
- // @property (readonly, nonatomic) enum DDTelemetryErrorEventSource source;
- [Export ("source")]
- DDTelemetryErrorEventSource Source { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryErrorEventTelemetry * _Nonnull telemetry;
- [Export ("telemetry", ArgumentSemantic.Strong)]
- DDTelemetryErrorEventTelemetry Telemetry { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
- [Export ("type")]
- string Type { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull version;
- [Export ("version")]
- string Version { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryErrorEventView * _Nullable view;
- [NullAllowed, Export ("view", ArgumentSemantic.Strong)]
- DDTelemetryErrorEventView View { get; }
-
- [Export ("effectiveSampleRate", ArgumentSemantic.Strong)]
- NSNumber EffectiveSampleRate { get; }
- }
-
- // @interface DDTelemetryErrorEventAction : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc27DDTelemetryErrorEventAction")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEventAction
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryErrorEventApplication : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc32DDTelemetryErrorEventApplication")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEventApplication
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryErrorEventDD : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc23DDTelemetryErrorEventDD")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEventDD
- {
- // @property (readonly, nonatomic, strong) NSNumber * _Nonnull formatVersion;
- [Export ("formatVersion", ArgumentSemantic.Strong)]
- NSNumber FormatVersion { get; }
- }
-
- // @interface DDTelemetryErrorEventSession : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc28DDTelemetryErrorEventSession")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEventSession
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTelemetryErrorEventTelemetry : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc30DDTelemetryErrorEventTelemetry")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEventTelemetry
- {
- // @property (readonly, nonatomic, strong) DDTelemetryErrorEventTelemetryRUMTelemetryDevice * _Nullable device;
- [NullAllowed, Export ("device", ArgumentSemantic.Strong)]
- DDTelemetryErrorEventTelemetryRUMTelemetryDevice Device { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryErrorEventTelemetryError * _Nullable error;
- [NullAllowed, Export ("error", ArgumentSemantic.Strong)]
- DDTelemetryErrorEventTelemetryError Error { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull message;
- [Export ("message")]
- string Message { get; }
-
- // @property (readonly, nonatomic, strong) DDTelemetryErrorEventTelemetryRUMTelemetryOperatingSystem * _Nullable os;
- [NullAllowed, Export ("os", ArgumentSemantic.Strong)]
- DDTelemetryErrorEventTelemetryRUMTelemetryOperatingSystem Os { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull status;
- [Export ("status")]
- string Status { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable type;
- [NullAllowed, Export ("type")]
- string Type { get; }
-
- // @property (readonly, copy, nonatomic) NSDictionary * _Nonnull telemetryInfo;
- [Export ("telemetryInfo", ArgumentSemantic.Copy)]
- NSDictionary TelemetryInfo { get; }
- }
-
- // @interface DDTelemetryErrorEventTelemetryError : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc35DDTelemetryErrorEventTelemetryError")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEventTelemetryError
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable kind;
- [NullAllowed, Export ("kind")]
- string Kind { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable stack;
- [NullAllowed, Export ("stack")]
- string Stack { get; }
- }
-
- // @interface DDTelemetryErrorEventTelemetryRUMTelemetryDevice : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc48DDTelemetryErrorEventTelemetryRUMTelemetryDevice")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEventTelemetryRUMTelemetryDevice
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable architecture;
- [NullAllowed, Export ("architecture")]
- string Architecture { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable brand;
- [NullAllowed, Export ("brand")]
- string Brand { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable model;
- [NullAllowed, Export ("model")]
- string Model { get; }
- }
-
- // @interface DDTelemetryErrorEventTelemetryRUMTelemetryOperatingSystem : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc57DDTelemetryErrorEventTelemetryRUMTelemetryOperatingSystem")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEventTelemetryRUMTelemetryOperatingSystem
- {
- // @property (readonly, copy, nonatomic) NSString * _Nullable build;
- [NullAllowed, Export ("build")]
- string Build { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable name;
- [NullAllowed, Export ("name")]
- string Name { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nullable version;
- [NullAllowed, Export ("version")]
- string Version { get; }
- }
-
- // @interface DDTelemetryErrorEventView : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc25DDTelemetryErrorEventView")]
- [DisableDefaultCtor]
- interface DDTelemetryErrorEventView
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull id;
- [Export ("id")]
- string Id { get; }
- }
-
- // @interface DDTrace : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc7DDTrace")]
- interface DDTrace
- {
- // +(void)enableWith:(DDTraceConfiguration * _Nonnull)configuration;
- [Static]
- [Export ("enableWith:")]
- void EnableWith (DDTraceConfiguration configuration);
- }
-
- // @interface DDTraceConfiguration : NSObject
- [BaseType (typeof(NSObject), Name = "_TtC11DatadogObjc20DDTraceConfiguration")]
- interface DDTraceConfiguration
- {
- // @property (nonatomic) float sampleRate;
- [Export ("sampleRate")]
- float SampleRate { get; set; }
-
- // @property (copy, nonatomic) NSString * _Nullable service;
- [NullAllowed, Export ("service")]
- string Service { get; set; }
-
- // @property (copy, nonatomic) NSDictionary