From 28fed39d4e2a2ad8fcd3bf523852ac917466d95a Mon Sep 17 00:00:00 2001 From: Xavier Gouchet Date: Mon, 12 Dec 2022 16:57:49 +0100 Subject: [PATCH 1/2] Move the generated files to the build/generated folder --- .../jsonschema/GenerateJsonSchemaTask.kt | 5 +- dd-sdk-android/apiSurface | 1495 ----------------- dd-sdk-android/build.gradle.kts | 1 + .../dd-sdk-android-session-replay/apiSurface | 244 --- .../build.gradle.kts | 1 + 5 files changed, 5 insertions(+), 1741 deletions(-) diff --git a/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/jsonschema/GenerateJsonSchemaTask.kt b/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/jsonschema/GenerateJsonSchemaTask.kt index d70d863a7a..a251065de6 100644 --- a/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/jsonschema/GenerateJsonSchemaTask.kt +++ b/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/jsonschema/GenerateJsonSchemaTask.kt @@ -123,8 +123,9 @@ open class GenerateJsonSchemaTask : DefaultTask() { } private fun getOutputDir(): File { - val srcDir = File(project.projectDir, "src") - val mainDir = File(srcDir, "main") + val genDir = File(project.buildDir, "generated") + val json2kotlinDir = File(genDir, "json2kotlin") + val mainDir = File(json2kotlinDir, "main") val file = File(mainDir, "kotlin") if (!file.exists()) file.mkdirs() return file diff --git a/dd-sdk-android/apiSurface b/dd-sdk-android/apiSurface index cd4985b9fa..3f664172b5 100644 --- a/dd-sdk-android/apiSurface +++ b/dd-sdk-android/apiSurface @@ -125,35 +125,6 @@ enum com.datadog.android.core.configuration.VitalsUpdateFrequency - AVERAGE - RARE - NEVER -data class com.datadog.android.core.model.NetworkInfo - constructor(Connectivity = Connectivity.NETWORK_NOT_CONNECTED, kotlin.String? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): NetworkInfo - fun fromJsonObject(com.google.gson.JsonObject): NetworkInfo - enum Connectivity - constructor(kotlin.String) - - NETWORK_NOT_CONNECTED - - NETWORK_ETHERNET - - NETWORK_WIFI - - NETWORK_WIMAX - - NETWORK_BLUETOOTH - - NETWORK_2G - - NETWORK_3G - - NETWORK_4G - - NETWORK_5G - - NETWORK_MOBILE_OTHER - - NETWORK_CELLULAR - - NETWORK_OTHER - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Connectivity -data class com.datadog.android.core.model.UserInfo - constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): UserInfo - fun fromJsonObject(com.google.gson.JsonObject): UserInfo interface com.datadog.android.event.EventMapper fun map(T): T? interface com.datadog.android.event.SpanEventMapper : EventMapper @@ -243,72 +214,6 @@ class com.datadog.android.log.Logger fun addTag(String) fun removeTag(String) fun removeTagsWithKey(String) -data class com.datadog.android.log.model.LogEvent - constructor(Status, kotlin.String, kotlin.String, kotlin.String, Logger, Dd, Usr? = null, Network? = null, Error? = null, kotlin.String, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): LogEvent - fun fromJsonObject(com.google.gson.JsonObject): LogEvent - data class Logger - constructor(kotlin.String, kotlin.String? = null, kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Logger - fun fromJsonObject(com.google.gson.JsonObject): Logger - data class Dd - constructor(Device) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Dd - fun fromJsonObject(com.google.gson.JsonObject): Dd - data class Usr - constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Usr - fun fromJsonObject(com.google.gson.JsonObject): Usr - data class Network - constructor(Client) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Network - fun fromJsonObject(com.google.gson.JsonObject): Network - data class Error - constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Error - fun fromJsonObject(com.google.gson.JsonObject): Error - data class Device - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Device - fun fromJsonObject(com.google.gson.JsonObject): Device - data class Client - constructor(SimCarrier? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Client - fun fromJsonObject(com.google.gson.JsonObject): Client - data class SimCarrier - constructor(kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): SimCarrier - fun fromJsonObject(com.google.gson.JsonObject): SimCarrier - enum Status - constructor(kotlin.String) - - CRITICAL - - ERROR - - WARN - - INFO - - DEBUG - - TRACE - - EMERGENCY - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Status data class com.datadog.android.plugin.DatadogContext constructor(DatadogRumContext? = null) DEPRECATED interface com.datadog.android.plugin.DatadogPlugin : com.datadog.android.privacy.TrackingConsentProviderCallback @@ -436,1172 +341,6 @@ interface com.datadog.android.rum.RumSessionListener class com.datadog.android.rum._RumInternalProxy fun addLongTask(Long, String) fun updatePerformanceMetric(RumPerformanceMetric, Double) -data class com.datadog.android.rum.model.ActionChildProperties - constructor(Action? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ActionChildProperties - fun fromJsonObject(com.google.gson.JsonObject): ActionChildProperties - data class Action - constructor(kotlin.collections.List) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Action - fun fromJsonObject(com.google.gson.JsonObject): Action -data class com.datadog.android.rum.model.ActionEvent - constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, ActionEventSession, Source? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, ActionEventAction) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ActionEvent - fun fromJsonObject(com.google.gson.JsonObject): ActionEvent - data class Application - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Application - fun fromJsonObject(com.google.gson.JsonObject): Application - data class ActionEventSession - constructor(kotlin.String, ActionEventSessionType, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ActionEventSession - fun fromJsonObject(com.google.gson.JsonObject): ActionEventSession - data class View - constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): View - fun fromJsonObject(com.google.gson.JsonObject): View - data class Usr - constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Usr - fun fromJsonObject(com.google.gson.JsonObject): Usr - data class Connectivity - constructor(Status, kotlin.collections.List, Cellular? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Connectivity - fun fromJsonObject(com.google.gson.JsonObject): Connectivity - data class Display - constructor(Viewport? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Display - fun fromJsonObject(com.google.gson.JsonObject): Display - data class Synthetics - constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Synthetics - fun fromJsonObject(com.google.gson.JsonObject): Synthetics - data class CiTest - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): CiTest - fun fromJsonObject(com.google.gson.JsonObject): CiTest - data class Os - constructor(kotlin.String, kotlin.String, kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Os - fun fromJsonObject(com.google.gson.JsonObject): Os - data class Device - constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Device - fun fromJsonObject(com.google.gson.JsonObject): Device - data class Dd - constructor(DdSession? = null, kotlin.String? = null, DdAction? = null) - val formatVersion: kotlin.Long - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Dd - fun fromJsonObject(com.google.gson.JsonObject): Dd - data class Context - constructor(kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Context - fun fromJsonObject(com.google.gson.JsonObject): Context - data class ActionEventAction - constructor(ActionEventActionType, kotlin.String? = null, kotlin.Long? = null, ActionEventActionTarget? = null, Frustration? = null, Error? = null, Crash? = null, LongTask? = null, Resource? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ActionEventAction - fun fromJsonObject(com.google.gson.JsonObject): ActionEventAction - data class Cellular - constructor(kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Cellular - fun fromJsonObject(com.google.gson.JsonObject): Cellular - data class Viewport - constructor(kotlin.Number, kotlin.Number) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Viewport - fun fromJsonObject(com.google.gson.JsonObject): Viewport - data class DdSession - constructor(Plan) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DdSession - fun fromJsonObject(com.google.gson.JsonObject): DdSession - data class DdAction - constructor(Position? = null, DdActionTarget? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DdAction - fun fromJsonObject(com.google.gson.JsonObject): DdAction - data class ActionEventActionTarget - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ActionEventActionTarget - fun fromJsonObject(com.google.gson.JsonObject): ActionEventActionTarget - data class Frustration - constructor(kotlin.collections.List) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Frustration - fun fromJsonObject(com.google.gson.JsonObject): Frustration - data class Error - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Error - fun fromJsonObject(com.google.gson.JsonObject): Error - data class Crash - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Crash - fun fromJsonObject(com.google.gson.JsonObject): Crash - data class LongTask - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): LongTask - fun fromJsonObject(com.google.gson.JsonObject): LongTask - data class Resource - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Resource - fun fromJsonObject(com.google.gson.JsonObject): Resource - data class Position - constructor(kotlin.Long, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Position - fun fromJsonObject(com.google.gson.JsonObject): Position - data class DdActionTarget - constructor(kotlin.String? = null, kotlin.Long? = null, kotlin.Long? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DdActionTarget - fun fromJsonObject(com.google.gson.JsonObject): DdActionTarget - enum Source - constructor(kotlin.String) - - ANDROID - - IOS - - BROWSER - - FLUTTER - - REACT_NATIVE - - ROKU - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Source - enum ActionEventSessionType - constructor(kotlin.String) - - USER - - SYNTHETICS - - CI_TEST - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ActionEventSessionType - enum Status - constructor(kotlin.String) - - CONNECTED - - NOT_CONNECTED - - MAYBE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Status - enum Interface - constructor(kotlin.String) - - BLUETOOTH - - CELLULAR - - ETHERNET - - WIFI - - WIMAX - - MIXED - - OTHER - - UNKNOWN - - NONE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Interface - enum DeviceType - constructor(kotlin.String) - - MOBILE - - DESKTOP - - TABLET - - TV - - GAMING_CONSOLE - - BOT - - OTHER - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DeviceType - enum ActionEventActionType - constructor(kotlin.String) - - CUSTOM - - CLICK - - TAP - - SCROLL - - SWIPE - - APPLICATION_START - - BACK - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ActionEventActionType - enum Plan - constructor(kotlin.Number) - - PLAN_1 - - PLAN_2 - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Plan - enum Type - constructor(kotlin.String) - - RAGE_CLICK - - DEAD_CLICK - - ERROR_CLICK - - RAGE_TAP - - ERROR_TAP - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Type -data class com.datadog.android.rum.model.ErrorEvent - constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, ErrorEventSession, ErrorEventSource? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Error) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ErrorEvent - fun fromJsonObject(com.google.gson.JsonObject): ErrorEvent - data class Application - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Application - fun fromJsonObject(com.google.gson.JsonObject): Application - data class ErrorEventSession - constructor(kotlin.String, ErrorEventSessionType, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ErrorEventSession - fun fromJsonObject(com.google.gson.JsonObject): ErrorEventSession - data class View - constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): View - fun fromJsonObject(com.google.gson.JsonObject): View - data class Usr - constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Usr - fun fromJsonObject(com.google.gson.JsonObject): Usr - data class Connectivity - constructor(Status, kotlin.collections.List, Cellular? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Connectivity - fun fromJsonObject(com.google.gson.JsonObject): Connectivity - data class Display - constructor(Viewport? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Display - fun fromJsonObject(com.google.gson.JsonObject): Display - data class Synthetics - constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Synthetics - fun fromJsonObject(com.google.gson.JsonObject): Synthetics - data class CiTest - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): CiTest - fun fromJsonObject(com.google.gson.JsonObject): CiTest - data class Os - constructor(kotlin.String, kotlin.String, kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Os - fun fromJsonObject(com.google.gson.JsonObject): Os - data class Device - constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Device - fun fromJsonObject(com.google.gson.JsonObject): Device - data class Dd - constructor(DdSession? = null, kotlin.String? = null) - val formatVersion: kotlin.Long - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Dd - fun fromJsonObject(com.google.gson.JsonObject): Dd - data class Context - constructor(kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Context - fun fromJsonObject(com.google.gson.JsonObject): Context - data class Action - constructor(kotlin.collections.List) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Action - fun fromJsonObject(com.google.gson.JsonObject): Action - data class Error - constructor(kotlin.String? = null, kotlin.String, ErrorSource, kotlin.String? = null, kotlin.collections.List? = null, kotlin.Boolean? = null, kotlin.String? = null, Handling? = null, kotlin.String? = null, SourceType? = null, Resource? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Error - fun fromJsonObject(com.google.gson.JsonObject): Error - data class Cellular - constructor(kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Cellular - fun fromJsonObject(com.google.gson.JsonObject): Cellular - data class Viewport - constructor(kotlin.Number, kotlin.Number) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Viewport - fun fromJsonObject(com.google.gson.JsonObject): Viewport - data class DdSession - constructor(Plan) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DdSession - fun fromJsonObject(com.google.gson.JsonObject): DdSession - data class Cause - constructor(kotlin.String, kotlin.String? = null, kotlin.String? = null, ErrorSource) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Cause - fun fromJsonObject(com.google.gson.JsonObject): Cause - data class Resource - constructor(Method, kotlin.Long, kotlin.String, Provider? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Resource - fun fromJsonObject(com.google.gson.JsonObject): Resource - data class Provider - constructor(kotlin.String? = null, kotlin.String? = null, ProviderType? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Provider - fun fromJsonObject(com.google.gson.JsonObject): Provider - enum ErrorEventSource - constructor(kotlin.String) - - ANDROID - - IOS - - BROWSER - - FLUTTER - - REACT_NATIVE - - ROKU - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ErrorEventSource - enum ErrorEventSessionType - constructor(kotlin.String) - - USER - - SYNTHETICS - - CI_TEST - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ErrorEventSessionType - enum Status - constructor(kotlin.String) - - CONNECTED - - NOT_CONNECTED - - MAYBE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Status - enum Interface - constructor(kotlin.String) - - BLUETOOTH - - CELLULAR - - ETHERNET - - WIFI - - WIMAX - - MIXED - - OTHER - - UNKNOWN - - NONE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Interface - enum DeviceType - constructor(kotlin.String) - - MOBILE - - DESKTOP - - TABLET - - TV - - GAMING_CONSOLE - - BOT - - OTHER - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DeviceType - enum ErrorSource - constructor(kotlin.String) - - NETWORK - - SOURCE - - CONSOLE - - LOGGER - - AGENT - - WEBVIEW - - CUSTOM - - REPORT - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ErrorSource - enum Handling - constructor(kotlin.String) - - HANDLED - - UNHANDLED - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Handling - enum SourceType - constructor(kotlin.String) - - ANDROID - - BROWSER - - IOS - - REACT_NATIVE - - FLUTTER - - ROKU - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): SourceType - enum Plan - constructor(kotlin.Number) - - PLAN_1 - - PLAN_2 - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Plan - enum Method - constructor(kotlin.String) - - POST - - GET - - HEAD - - PUT - - DELETE - - PATCH - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Method - enum ProviderType - constructor(kotlin.String) - - AD - - ADVERTISING - - ANALYTICS - - CDN - - CONTENT - - CUSTOMER_SUCCESS - - FIRST_PARTY - - HOSTING - - MARKETING - - OTHER - - SOCIAL - - TAG_MANAGER - - UTILITY - - VIDEO - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ProviderType -data class com.datadog.android.rum.model.LongTaskEvent - constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, LongTaskEventSession, Source? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, LongTask) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): LongTaskEvent - fun fromJsonObject(com.google.gson.JsonObject): LongTaskEvent - data class Application - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Application - fun fromJsonObject(com.google.gson.JsonObject): Application - data class LongTaskEventSession - constructor(kotlin.String, LongTaskEventSessionType, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): LongTaskEventSession - fun fromJsonObject(com.google.gson.JsonObject): LongTaskEventSession - data class View - constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): View - fun fromJsonObject(com.google.gson.JsonObject): View - data class Usr - constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Usr - fun fromJsonObject(com.google.gson.JsonObject): Usr - data class Connectivity - constructor(Status, kotlin.collections.List, Cellular? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Connectivity - fun fromJsonObject(com.google.gson.JsonObject): Connectivity - data class Display - constructor(Viewport? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Display - fun fromJsonObject(com.google.gson.JsonObject): Display - data class Synthetics - constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Synthetics - fun fromJsonObject(com.google.gson.JsonObject): Synthetics - data class CiTest - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): CiTest - fun fromJsonObject(com.google.gson.JsonObject): CiTest - data class Os - constructor(kotlin.String, kotlin.String, kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Os - fun fromJsonObject(com.google.gson.JsonObject): Os - data class Device - constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Device - fun fromJsonObject(com.google.gson.JsonObject): Device - data class Dd - constructor(DdSession? = null, kotlin.String? = null, kotlin.Boolean? = null) - val formatVersion: kotlin.Long - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Dd - fun fromJsonObject(com.google.gson.JsonObject): Dd - data class Context - constructor(kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Context - fun fromJsonObject(com.google.gson.JsonObject): Context - data class Action - constructor(kotlin.collections.List) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Action - fun fromJsonObject(com.google.gson.JsonObject): Action - data class LongTask - constructor(kotlin.String? = null, kotlin.Long, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): LongTask - fun fromJsonObject(com.google.gson.JsonObject): LongTask - data class Cellular - constructor(kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Cellular - fun fromJsonObject(com.google.gson.JsonObject): Cellular - data class Viewport - constructor(kotlin.Number, kotlin.Number) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Viewport - fun fromJsonObject(com.google.gson.JsonObject): Viewport - data class DdSession - constructor(Plan) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DdSession - fun fromJsonObject(com.google.gson.JsonObject): DdSession - enum Source - constructor(kotlin.String) - - ANDROID - - IOS - - BROWSER - - FLUTTER - - REACT_NATIVE - - ROKU - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Source - enum LongTaskEventSessionType - constructor(kotlin.String) - - USER - - SYNTHETICS - - CI_TEST - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): LongTaskEventSessionType - enum Status - constructor(kotlin.String) - - CONNECTED - - NOT_CONNECTED - - MAYBE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Status - enum Interface - constructor(kotlin.String) - - BLUETOOTH - - CELLULAR - - ETHERNET - - WIFI - - WIMAX - - MIXED - - OTHER - - UNKNOWN - - NONE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Interface - enum DeviceType - constructor(kotlin.String) - - MOBILE - - DESKTOP - - TABLET - - TV - - GAMING_CONSOLE - - BOT - - OTHER - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DeviceType - enum Plan - constructor(kotlin.Number) - - PLAN_1 - - PLAN_2 - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Plan -data class com.datadog.android.rum.model.ResourceEvent - constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, ResourceEventSession, Source? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Resource) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ResourceEvent - fun fromJsonObject(com.google.gson.JsonObject): ResourceEvent - data class Application - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Application - fun fromJsonObject(com.google.gson.JsonObject): Application - data class ResourceEventSession - constructor(kotlin.String, ResourceEventSessionType, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ResourceEventSession - fun fromJsonObject(com.google.gson.JsonObject): ResourceEventSession - data class View - constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): View - fun fromJsonObject(com.google.gson.JsonObject): View - data class Usr - constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Usr - fun fromJsonObject(com.google.gson.JsonObject): Usr - data class Connectivity - constructor(Status, kotlin.collections.List, Cellular? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Connectivity - fun fromJsonObject(com.google.gson.JsonObject): Connectivity - data class Display - constructor(Viewport? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Display - fun fromJsonObject(com.google.gson.JsonObject): Display - data class Synthetics - constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Synthetics - fun fromJsonObject(com.google.gson.JsonObject): Synthetics - data class CiTest - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): CiTest - fun fromJsonObject(com.google.gson.JsonObject): CiTest - data class Os - constructor(kotlin.String, kotlin.String, kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Os - fun fromJsonObject(com.google.gson.JsonObject): Os - data class Device - constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Device - fun fromJsonObject(com.google.gson.JsonObject): Device - data class Dd - constructor(DdSession? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.Number? = null, kotlin.Boolean? = null) - val formatVersion: kotlin.Long - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Dd - fun fromJsonObject(com.google.gson.JsonObject): Dd - data class Context - constructor(kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Context - fun fromJsonObject(com.google.gson.JsonObject): Context - data class Action - constructor(kotlin.collections.List) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Action - fun fromJsonObject(com.google.gson.JsonObject): Action - data class Resource - constructor(kotlin.String? = null, ResourceType, Method? = null, kotlin.String, kotlin.Long? = null, kotlin.Long, kotlin.Long? = null, Redirect? = null, Dns? = null, Connect? = null, Ssl? = null, FirstByte? = null, Download? = null, Provider? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Resource - fun fromJsonObject(com.google.gson.JsonObject): Resource - data class Cellular - constructor(kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Cellular - fun fromJsonObject(com.google.gson.JsonObject): Cellular - data class Viewport - constructor(kotlin.Number, kotlin.Number) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Viewport - fun fromJsonObject(com.google.gson.JsonObject): Viewport - data class DdSession - constructor(Plan) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DdSession - fun fromJsonObject(com.google.gson.JsonObject): DdSession - data class Redirect - constructor(kotlin.Long, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Redirect - fun fromJsonObject(com.google.gson.JsonObject): Redirect - data class Dns - constructor(kotlin.Long, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Dns - fun fromJsonObject(com.google.gson.JsonObject): Dns - data class Connect - constructor(kotlin.Long, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Connect - fun fromJsonObject(com.google.gson.JsonObject): Connect - data class Ssl - constructor(kotlin.Long, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Ssl - fun fromJsonObject(com.google.gson.JsonObject): Ssl - data class FirstByte - constructor(kotlin.Long, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): FirstByte - fun fromJsonObject(com.google.gson.JsonObject): FirstByte - data class Download - constructor(kotlin.Long, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Download - fun fromJsonObject(com.google.gson.JsonObject): Download - data class Provider - constructor(kotlin.String? = null, kotlin.String? = null, ProviderType? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Provider - fun fromJsonObject(com.google.gson.JsonObject): Provider - enum Source - constructor(kotlin.String) - - ANDROID - - IOS - - BROWSER - - FLUTTER - - REACT_NATIVE - - ROKU - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Source - enum ResourceEventSessionType - constructor(kotlin.String) - - USER - - SYNTHETICS - - CI_TEST - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ResourceEventSessionType - enum Status - constructor(kotlin.String) - - CONNECTED - - NOT_CONNECTED - - MAYBE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Status - enum Interface - constructor(kotlin.String) - - BLUETOOTH - - CELLULAR - - ETHERNET - - WIFI - - WIMAX - - MIXED - - OTHER - - UNKNOWN - - NONE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Interface - enum DeviceType - constructor(kotlin.String) - - MOBILE - - DESKTOP - - TABLET - - TV - - GAMING_CONSOLE - - BOT - - OTHER - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DeviceType - enum ResourceType - constructor(kotlin.String) - - DOCUMENT - - XHR - - BEACON - - FETCH - - CSS - - JS - - IMAGE - - FONT - - MEDIA - - OTHER - - NATIVE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ResourceType - enum Method - constructor(kotlin.String) - - POST - - GET - - HEAD - - PUT - - DELETE - - PATCH - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Method - enum Plan - constructor(kotlin.Number) - - PLAN_1 - - PLAN_2 - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Plan - enum ProviderType - constructor(kotlin.String) - - AD - - ADVERTISING - - ANALYTICS - - CDN - - CONTENT - - CUSTOMER_SUCCESS - - FIRST_PARTY - - HOSTING - - MARKETING - - OTHER - - SOCIAL - - TAG_MANAGER - - UTILITY - - VIDEO - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ProviderType -data class com.datadog.android.rum.model.RumPerfMetric - constructor(kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): RumPerfMetric - fun fromJsonObject(com.google.gson.JsonObject): RumPerfMetric -data class com.datadog.android.rum.model.ViewEvent - constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, ViewEventSession, Source? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ViewEvent - fun fromJsonObject(com.google.gson.JsonObject): ViewEvent - data class Application - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Application - fun fromJsonObject(com.google.gson.JsonObject): Application - data class ViewEventSession - constructor(kotlin.String, ViewEventSessionType, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ViewEventSession - fun fromJsonObject(com.google.gson.JsonObject): ViewEventSession - data class View - constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null, kotlin.Long? = null, LoadingType? = null, kotlin.Long, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Number? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, CustomTimings? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, Action, Error, Crash? = null, LongTask? = null, FrozenFrame? = null, Resource, Frustration? = null, kotlin.collections.List? = null, kotlin.Number? = null, kotlin.Number? = null, kotlin.Number? = null, kotlin.Number? = null, kotlin.Number? = null, kotlin.Number? = null, FlutterBuildTime? = null, FlutterBuildTime? = null, FlutterBuildTime? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): View - fun fromJsonObject(com.google.gson.JsonObject): View - data class Usr - constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Usr - fun fromJsonObject(com.google.gson.JsonObject): Usr - data class Connectivity - constructor(Status, kotlin.collections.List, Cellular? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Connectivity - fun fromJsonObject(com.google.gson.JsonObject): Connectivity - data class Display - constructor(Viewport? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Display - fun fromJsonObject(com.google.gson.JsonObject): Display - data class Synthetics - constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Synthetics - fun fromJsonObject(com.google.gson.JsonObject): Synthetics - data class CiTest - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): CiTest - fun fromJsonObject(com.google.gson.JsonObject): CiTest - data class Os - constructor(kotlin.String, kotlin.String, kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Os - fun fromJsonObject(com.google.gson.JsonObject): Os - data class Device - constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Device - fun fromJsonObject(com.google.gson.JsonObject): Device - data class Dd - constructor(DdSession? = null, kotlin.String? = null, kotlin.Long) - val formatVersion: kotlin.Long - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Dd - fun fromJsonObject(com.google.gson.JsonObject): Dd - data class Context - constructor(kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Context - fun fromJsonObject(com.google.gson.JsonObject): Context - data class CustomTimings - constructor(kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): CustomTimings - fun fromJsonObject(com.google.gson.JsonObject): CustomTimings - data class Action - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Action - fun fromJsonObject(com.google.gson.JsonObject): Action - data class Error - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Error - fun fromJsonObject(com.google.gson.JsonObject): Error - data class Crash - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Crash - fun fromJsonObject(com.google.gson.JsonObject): Crash - data class LongTask - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): LongTask - fun fromJsonObject(com.google.gson.JsonObject): LongTask - data class FrozenFrame - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): FrozenFrame - fun fromJsonObject(com.google.gson.JsonObject): FrozenFrame - data class Resource - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Resource - fun fromJsonObject(com.google.gson.JsonObject): Resource - data class Frustration - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Frustration - fun fromJsonObject(com.google.gson.JsonObject): Frustration - data class InForegroundPeriod - constructor(kotlin.Long, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): InForegroundPeriod - fun fromJsonObject(com.google.gson.JsonObject): InForegroundPeriod - data class FlutterBuildTime - constructor(kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): FlutterBuildTime - fun fromJsonObject(com.google.gson.JsonObject): FlutterBuildTime - data class Cellular - constructor(kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Cellular - fun fromJsonObject(com.google.gson.JsonObject): Cellular - data class Viewport - constructor(kotlin.Number, kotlin.Number) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Viewport - fun fromJsonObject(com.google.gson.JsonObject): Viewport - data class DdSession - constructor(Plan) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DdSession - fun fromJsonObject(com.google.gson.JsonObject): DdSession - enum Source - constructor(kotlin.String) - - ANDROID - - IOS - - BROWSER - - FLUTTER - - REACT_NATIVE - - ROKU - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Source - enum ViewEventSessionType - constructor(kotlin.String) - - USER - - SYNTHETICS - - CI_TEST - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ViewEventSessionType - enum LoadingType - constructor(kotlin.String) - - INITIAL_LOAD - - ROUTE_CHANGE - - ACTIVITY_DISPLAY - - ACTIVITY_REDISPLAY - - FRAGMENT_DISPLAY - - FRAGMENT_REDISPLAY - - VIEW_CONTROLLER_DISPLAY - - VIEW_CONTROLLER_REDISPLAY - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): LoadingType - enum Status - constructor(kotlin.String) - - CONNECTED - - NOT_CONNECTED - - MAYBE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Status - enum Interface - constructor(kotlin.String) - - BLUETOOTH - - CELLULAR - - ETHERNET - - WIFI - - WIMAX - - MIXED - - OTHER - - UNKNOWN - - NONE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Interface - enum DeviceType - constructor(kotlin.String) - - MOBILE - - DESKTOP - - TABLET - - TV - - GAMING_CONSOLE - - BOT - - OTHER - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): DeviceType - enum Plan - constructor(kotlin.Number) - - PLAN_1 - - PLAN_2 - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Plan class com.datadog.android.rum.resource.RumResourceInputStream : java.io.InputStream constructor(java.io.InputStream, String) override fun read(): Int @@ -1712,182 +451,6 @@ class com.datadog.android.sqlite.DatadogDatabaseErrorHandler : android.database. constructor(android.database.DatabaseErrorHandler = DefaultDatabaseErrorHandler()) override fun onCorruption(android.database.sqlite.SQLiteDatabase) companion object -data class com.datadog.android.telemetry.model.TelemetryConfigurationEvent - constructor(Dd, kotlin.Long, kotlin.String, Source, kotlin.String, Application? = null, Session? = null, View? = null, Action? = null, kotlin.collections.List? = null, Telemetry) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): TelemetryConfigurationEvent - fun fromJsonObject(com.google.gson.JsonObject): TelemetryConfigurationEvent - class Dd - val formatVersion: kotlin.Long - fun toJson(): com.google.gson.JsonElement - data class Application - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Application - fun fromJsonObject(com.google.gson.JsonObject): Application - data class Session - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Session - fun fromJsonObject(com.google.gson.JsonObject): Session - data class View - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): View - fun fromJsonObject(com.google.gson.JsonObject): View - data class Action - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Action - fun fromJsonObject(com.google.gson.JsonObject): Action - data class Telemetry - constructor(Configuration) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Telemetry - fun fromJsonObject(com.google.gson.JsonObject): Telemetry - data class Configuration - constructor(kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.String? = null, kotlin.Boolean? = null, kotlin.String? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.collections.List? = null, kotlin.collections.List? = null, kotlin.Boolean? = null, ViewTrackingStrategy? = null, kotlin.Boolean? = null, kotlin.Long? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.String? = null, kotlin.Boolean? = null, kotlin.Long? = null, kotlin.Long? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Configuration - fun fromJsonObject(com.google.gson.JsonObject): Configuration - enum Source - constructor(kotlin.String) - - ANDROID - - IOS - - BROWSER - - FLUTTER - - REACT_NATIVE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Source - enum ViewTrackingStrategy - constructor(kotlin.String) - - ACTIVITYVIEWTRACKINGSTRATEGY - - FRAGMENTVIEWTRACKINGSTRATEGY - - MIXEDVIEWTRACKINGSTRATEGY - - NAVIGATIONVIEWTRACKINGSTRATEGY - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ViewTrackingStrategy -data class com.datadog.android.telemetry.model.TelemetryDebugEvent - constructor(Dd, kotlin.Long, kotlin.String, Source, kotlin.String, Application? = null, Session? = null, View? = null, Action? = null, kotlin.collections.List? = null, Telemetry) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): TelemetryDebugEvent - fun fromJsonObject(com.google.gson.JsonObject): TelemetryDebugEvent - class Dd - val formatVersion: kotlin.Long - fun toJson(): com.google.gson.JsonElement - data class Application - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Application - fun fromJsonObject(com.google.gson.JsonObject): Application - data class Session - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Session - fun fromJsonObject(com.google.gson.JsonObject): Session - data class View - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): View - fun fromJsonObject(com.google.gson.JsonObject): View - data class Action - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Action - fun fromJsonObject(com.google.gson.JsonObject): Action - data class Telemetry - constructor(kotlin.String) - val type: kotlin.String - val status: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Telemetry - fun fromJsonObject(com.google.gson.JsonObject): Telemetry - enum Source - constructor(kotlin.String) - - ANDROID - - IOS - - BROWSER - - FLUTTER - - REACT_NATIVE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Source -data class com.datadog.android.telemetry.model.TelemetryErrorEvent - constructor(Dd, kotlin.Long, kotlin.String, Source, kotlin.String, Application? = null, Session? = null, View? = null, Action? = null, kotlin.collections.List? = null, Telemetry) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): TelemetryErrorEvent - fun fromJsonObject(com.google.gson.JsonObject): TelemetryErrorEvent - class Dd - val formatVersion: kotlin.Long - fun toJson(): com.google.gson.JsonElement - data class Application - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Application - fun fromJsonObject(com.google.gson.JsonObject): Application - data class Session - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Session - fun fromJsonObject(com.google.gson.JsonObject): Session - data class View - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): View - fun fromJsonObject(com.google.gson.JsonObject): View - data class Action - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Action - fun fromJsonObject(com.google.gson.JsonObject): Action - data class Telemetry - constructor(kotlin.String, Error? = null) - val type: kotlin.String - val status: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Telemetry - fun fromJsonObject(com.google.gson.JsonObject): Telemetry - data class Error - constructor(kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Error - fun fromJsonObject(com.google.gson.JsonObject): Error - enum Source - constructor(kotlin.String) - - ANDROID - - IOS - - BROWSER - - FLUTTER - - REACT_NATIVE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Source class com.datadog.android.tracing.AndroidTracer : com.datadog.opentracing.DDTracer override fun buildSpan(String): DDSpanBuilder class Builder @@ -1908,64 +471,6 @@ open class com.datadog.android.tracing.TracingInterceptor : okhttp3.Interceptor override fun intercept(okhttp3.Interceptor.Chain): okhttp3.Response protected open fun onRequestIntercepted(okhttp3.Request, io.opentracing.Span?, okhttp3.Response?, Throwable?) companion object -data class com.datadog.android.tracing.model.SpanEvent - constructor(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.Long, kotlin.Long, kotlin.Long = 0L, Metrics, Meta) - val type: kotlin.String - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): SpanEvent - fun fromJsonObject(com.google.gson.JsonObject): SpanEvent - data class Metrics - constructor(kotlin.Long? = null, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Metrics - fun fromJsonObject(com.google.gson.JsonObject): Metrics - data class Meta - constructor(kotlin.String, Dd, Span, Tracer, Usr, Network, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Meta - fun fromJsonObject(com.google.gson.JsonObject): Meta - data class Dd - constructor(kotlin.String? = "android") - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Dd - fun fromJsonObject(com.google.gson.JsonObject): Dd - class Span - val kind: kotlin.String - fun toJson(): com.google.gson.JsonElement - data class Tracer - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Tracer - fun fromJsonObject(com.google.gson.JsonObject): Tracer - data class Usr - constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Usr - fun fromJsonObject(com.google.gson.JsonObject): Usr - data class Network - constructor(Client) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Network - fun fromJsonObject(com.google.gson.JsonObject): Network - data class Client - constructor(SimCarrier? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Client - fun fromJsonObject(com.google.gson.JsonObject): Client - data class SimCarrier - constructor(kotlin.String? = null, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): SimCarrier - fun fromJsonObject(com.google.gson.JsonObject): SimCarrier interface com.datadog.android.v2.api.EventBatchWriter fun currentMetadata(): ByteArray? fun write(ByteArray, ByteArray?): Boolean diff --git a/dd-sdk-android/build.gradle.kts b/dd-sdk-android/build.gradle.kts index 538bc663bd..931cfa7662 100644 --- a/dd-sdk-android/build.gradle.kts +++ b/dd-sdk-android/build.gradle.kts @@ -62,6 +62,7 @@ android { sourceSets.named("main") { java.srcDir("src/main/kotlin") + java.srcDir("build/generated/json2kotlin/main/kotlin") } sourceSets.named("test") { java.srcDir("src/test/kotlin") diff --git a/library/dd-sdk-android-session-replay/apiSurface b/library/dd-sdk-android-session-replay/apiSurface index d6b922c40b..e8dd3668da 100644 --- a/library/dd-sdk-android-session-replay/apiSurface +++ b/library/dd-sdk-android-session-replay/apiSurface @@ -21,250 +21,6 @@ class com.datadog.android.sessionreplay.SessionReplayLifecycleCallback : Lifecyc enum com.datadog.android.sessionreplay.SessionReplayPrivacy - ALLOW_ALL - MASK_ALL -data class com.datadog.android.sessionreplay.model.MobileSegment - constructor(Application, Session, View, kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long? = null, kotlin.Boolean? = null, Source, kotlin.collections.List) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): MobileSegment - fun fromJsonObject(com.google.gson.JsonObject): MobileSegment - data class Application - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Application - fun fromJsonObject(com.google.gson.JsonObject): Application - data class Session - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Session - fun fromJsonObject(com.google.gson.JsonObject): Session - data class View - constructor(kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): View - fun fromJsonObject(com.google.gson.JsonObject): View - sealed class MobileRecord - abstract fun toJson(): com.google.gson.JsonElement - data class MobileFullSnapshotRecord : MobileRecord - constructor(kotlin.Long, Data) - val type: kotlin.Long - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): MobileFullSnapshotRecord - fun fromJsonObject(com.google.gson.JsonObject): MobileFullSnapshotRecord - data class MobileIncrementalSnapshotRecord : MobileRecord - constructor(kotlin.Long, MobileIncrementalData) - val type: kotlin.Long - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): MobileIncrementalSnapshotRecord - fun fromJsonObject(com.google.gson.JsonObject): MobileIncrementalSnapshotRecord - data class MetaRecord : MobileRecord - constructor(kotlin.Long, Data1) - val type: kotlin.Long - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): MetaRecord - fun fromJsonObject(com.google.gson.JsonObject): MetaRecord - data class FocusRecord : MobileRecord - constructor(kotlin.Long, Data2) - val type: kotlin.Long - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): FocusRecord - fun fromJsonObject(com.google.gson.JsonObject): FocusRecord - data class ViewEndRecord : MobileRecord - constructor(kotlin.Long) - val type: kotlin.Long - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ViewEndRecord - fun fromJsonObject(com.google.gson.JsonObject): ViewEndRecord - data class VisualViewportRecord : MobileRecord - constructor(kotlin.Long, Data3) - val type: kotlin.Long - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): VisualViewportRecord - fun fromJsonObject(com.google.gson.JsonObject): VisualViewportRecord - companion object - fun fromJson(kotlin.String): MobileRecord - fun fromJsonObject(com.google.gson.JsonObject): MobileRecord - data class Data - constructor(kotlin.collections.List) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Data - fun fromJsonObject(com.google.gson.JsonObject): Data - sealed class MobileIncrementalData - abstract fun toJson(): com.google.gson.JsonElement - data class MobileMutationData : MobileIncrementalData - constructor(kotlin.collections.List? = null, kotlin.collections.List? = null, kotlin.collections.List? = null) - val source: kotlin.Long - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): MobileMutationData - fun fromJsonObject(com.google.gson.JsonObject): MobileMutationData - data class TouchData : MobileIncrementalData - constructor(kotlin.collections.List? = null) - val source: kotlin.Long - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): TouchData - fun fromJsonObject(com.google.gson.JsonObject): TouchData - data class ViewportResizeData : MobileIncrementalData - constructor(kotlin.Long, kotlin.Long) - val source: kotlin.Long - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ViewportResizeData - fun fromJsonObject(com.google.gson.JsonObject): ViewportResizeData - companion object - fun fromJson(kotlin.String): MobileIncrementalData - fun fromJsonObject(com.google.gson.JsonObject): MobileIncrementalData - data class Data1 - constructor(kotlin.Long, kotlin.Long, kotlin.String? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Data1 - fun fromJsonObject(com.google.gson.JsonObject): Data1 - data class Data2 - constructor(kotlin.Boolean) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Data2 - fun fromJsonObject(com.google.gson.JsonObject): Data2 - data class Data3 - constructor(kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Data3 - fun fromJsonObject(com.google.gson.JsonObject): Data3 - sealed class Wireframe - abstract fun toJson(): com.google.gson.JsonElement - data class ShapeWireframe : Wireframe - constructor(kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long, WireframeClip? = null, ShapeStyle? = null, ShapeBorder? = null) - val type: kotlin.String - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ShapeWireframe - fun fromJsonObject(com.google.gson.JsonObject): ShapeWireframe - data class TextWireframe : Wireframe - constructor(kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long, WireframeClip? = null, ShapeStyle? = null, ShapeBorder? = null, kotlin.String, TextStyle, TextPosition? = null) - val type: kotlin.String - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): TextWireframe - fun fromJsonObject(com.google.gson.JsonObject): TextWireframe - companion object - fun fromJson(kotlin.String): Wireframe - fun fromJsonObject(com.google.gson.JsonObject): Wireframe - data class Add - constructor(kotlin.Long? = null, Wireframe) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Add - fun fromJsonObject(com.google.gson.JsonObject): Add - data class Remove - constructor(kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Remove - fun fromJsonObject(com.google.gson.JsonObject): Remove - sealed class WireframeUpdateMutation - abstract fun toJson(): com.google.gson.JsonElement - data class TextWireframeUpdate : WireframeUpdateMutation - constructor(kotlin.Long, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, WireframeClip? = null, ShapeStyle? = null, ShapeBorder? = null, kotlin.String? = null, TextStyle? = null, TextPosition? = null) - val type: kotlin.String - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): TextWireframeUpdate - fun fromJsonObject(com.google.gson.JsonObject): TextWireframeUpdate - data class ShapeWireframeUpdate : WireframeUpdateMutation - constructor(kotlin.Long, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, WireframeClip? = null, ShapeStyle? = null, ShapeBorder? = null) - val type: kotlin.String - override fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ShapeWireframeUpdate - fun fromJsonObject(com.google.gson.JsonObject): ShapeWireframeUpdate - companion object - fun fromJson(kotlin.String): WireframeUpdateMutation - fun fromJsonObject(com.google.gson.JsonObject): WireframeUpdateMutation - data class Position - constructor(kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Position - fun fromJsonObject(com.google.gson.JsonObject): Position - data class WireframeClip - constructor(kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): WireframeClip - fun fromJsonObject(com.google.gson.JsonObject): WireframeClip - data class ShapeStyle - constructor(kotlin.String? = null, kotlin.Number? = null, kotlin.Number? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ShapeStyle - fun fromJsonObject(com.google.gson.JsonObject): ShapeStyle - data class ShapeBorder - constructor(kotlin.String, kotlin.Long) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): ShapeBorder - fun fromJsonObject(com.google.gson.JsonObject): ShapeBorder - data class TextStyle - constructor(kotlin.String, kotlin.Long, kotlin.String) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): TextStyle - fun fromJsonObject(com.google.gson.JsonObject): TextStyle - data class TextPosition - constructor(Padding? = null, Alignment? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): TextPosition - fun fromJsonObject(com.google.gson.JsonObject): TextPosition - data class Padding - constructor(kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Padding - fun fromJsonObject(com.google.gson.JsonObject): Padding - data class Alignment - constructor(Horizontal? = null, Vertical? = null) - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Alignment - fun fromJsonObject(com.google.gson.JsonObject): Alignment - enum Source - constructor(kotlin.String) - - ANDROID - - IOS - - FLUTTER - - REACT_NATIVE - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Source - enum Horizontal - constructor(kotlin.String) - - LEFT - - RIGHT - - CENTER - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Horizontal - enum Vertical - constructor(kotlin.String) - - TOP - - BOTTOM - - CENTER - fun toJson(): com.google.gson.JsonElement - companion object - fun fromJson(kotlin.String): Vertical class com.datadog.android.sessionreplay.net.BatchesToSegmentsMapper fun map(List): List> companion object diff --git a/library/dd-sdk-android-session-replay/build.gradle.kts b/library/dd-sdk-android-session-replay/build.gradle.kts index 7dafd5fb15..61a5cbe2db 100644 --- a/library/dd-sdk-android-session-replay/build.gradle.kts +++ b/library/dd-sdk-android-session-replay/build.gradle.kts @@ -45,6 +45,7 @@ android { sourceSets.named("main") { java.srcDir("src/main/kotlin") + java.srcDir("build/generated/json2kotlin/main/kotlin") } sourceSets.named("test") { java.srcDir("src/test/kotlin") From ead06a399214484c48ed46c68c5c03d4ee29eccc Mon Sep 17 00:00:00 2001 From: Xavier Gouchet Date: Mon, 12 Dec 2022 17:40:23 +0100 Subject: [PATCH 2/2] include the generated models in the api surface --- .../plugin/apisurface/ApiSurfacePlugin.kt | 7 +- .../apisurface/GenerateApiSurfaceTask.kt | 4 + dd-sdk-android/apiSurface | 1495 +++++++++++++++++ .../dd-sdk-android-session-replay/apiSurface | 244 +++ 4 files changed, 1748 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/apisurface/ApiSurfacePlugin.kt b/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/apisurface/ApiSurfacePlugin.kt index c0dc8c9757..d6347a9ffe 100644 --- a/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/apisurface/ApiSurfacePlugin.kt +++ b/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/apisurface/ApiSurfacePlugin.kt @@ -15,12 +15,15 @@ import java.io.File class ApiSurfacePlugin : Plugin { override fun apply(target: Project) { - val srcDir = File(target.projectDir, "src") + val srcDir = File(File(target.projectDir, "src"), "main") + val genDir = File(File(target.buildDir, "generated"), "json2kotlin") val surfaceFile = File(target.projectDir, FILE_NAME) + genDir.mkdirs() target.tasks .register(TASK_GEN_API_SURFACE, GenerateApiSurfaceTask::class.java) { - this.srcDir = File(srcDir, "main") + this.srcDir = srcDir + this.genDir = genDir this.surfaceFile = surfaceFile } target.tasks diff --git a/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/apisurface/GenerateApiSurfaceTask.kt b/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/apisurface/GenerateApiSurfaceTask.kt index 15ac89dd36..8f61d4f26e 100644 --- a/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/apisurface/GenerateApiSurfaceTask.kt +++ b/buildSrc/src/main/kotlin/com/datadog/gradle/plugin/apisurface/GenerateApiSurfaceTask.kt @@ -16,6 +16,9 @@ open class GenerateApiSurfaceTask : DefaultTask() { @get:InputDirectory lateinit var srcDir: File + @get:InputDirectory + lateinit var genDir: File + @get: OutputFile lateinit var surfaceFile: File private lateinit var visitor: KotlinFileVisitor @@ -31,6 +34,7 @@ open class GenerateApiSurfaceTask : DefaultTask() { fun applyTask() { visitor = KotlinFileVisitor() visitDirectoryRecursively(srcDir) + visitDirectoryRecursively(genDir) surfaceFile.printWriter().use { it.print(visitor.description.toString()) diff --git a/dd-sdk-android/apiSurface b/dd-sdk-android/apiSurface index 3f664172b5..8545abc171 100644 --- a/dd-sdk-android/apiSurface +++ b/dd-sdk-android/apiSurface @@ -577,3 +577,1498 @@ class com.datadog.android.webview.DatadogEventBridge companion object fun setup(android.webkit.WebView) class com.datadog.tools.annotation.NoOpImplementation +data class com.datadog.android.core.model.NetworkInfo + constructor(Connectivity = Connectivity.NETWORK_NOT_CONNECTED, kotlin.String? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): NetworkInfo + fun fromJsonObject(com.google.gson.JsonObject): NetworkInfo + enum Connectivity + constructor(kotlin.String) + - NETWORK_NOT_CONNECTED + - NETWORK_ETHERNET + - NETWORK_WIFI + - NETWORK_WIMAX + - NETWORK_BLUETOOTH + - NETWORK_2G + - NETWORK_3G + - NETWORK_4G + - NETWORK_5G + - NETWORK_MOBILE_OTHER + - NETWORK_CELLULAR + - NETWORK_OTHER + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Connectivity +data class com.datadog.android.core.model.UserInfo + constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): UserInfo + fun fromJsonObject(com.google.gson.JsonObject): UserInfo +data class com.datadog.android.log.model.LogEvent + constructor(Status, kotlin.String, kotlin.String, kotlin.String, Logger, Dd, Usr? = null, Network? = null, Error? = null, kotlin.String, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): LogEvent + fun fromJsonObject(com.google.gson.JsonObject): LogEvent + data class Logger + constructor(kotlin.String, kotlin.String? = null, kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Logger + fun fromJsonObject(com.google.gson.JsonObject): Logger + data class Dd + constructor(Device) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Dd + fun fromJsonObject(com.google.gson.JsonObject): Dd + data class Usr + constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Usr + fun fromJsonObject(com.google.gson.JsonObject): Usr + data class Network + constructor(Client) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Network + fun fromJsonObject(com.google.gson.JsonObject): Network + data class Error + constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Error + fun fromJsonObject(com.google.gson.JsonObject): Error + data class Device + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Device + fun fromJsonObject(com.google.gson.JsonObject): Device + data class Client + constructor(SimCarrier? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Client + fun fromJsonObject(com.google.gson.JsonObject): Client + data class SimCarrier + constructor(kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): SimCarrier + fun fromJsonObject(com.google.gson.JsonObject): SimCarrier + enum Status + constructor(kotlin.String) + - CRITICAL + - ERROR + - WARN + - INFO + - DEBUG + - TRACE + - EMERGENCY + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Status +data class com.datadog.android.rum.model.ActionChildProperties + constructor(Action? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ActionChildProperties + fun fromJsonObject(com.google.gson.JsonObject): ActionChildProperties + data class Action + constructor(kotlin.collections.List) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Action + fun fromJsonObject(com.google.gson.JsonObject): Action +data class com.datadog.android.rum.model.ActionEvent + constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, ActionEventSession, Source? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, ActionEventAction) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ActionEvent + fun fromJsonObject(com.google.gson.JsonObject): ActionEvent + data class Application + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Application + fun fromJsonObject(com.google.gson.JsonObject): Application + data class ActionEventSession + constructor(kotlin.String, ActionEventSessionType, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ActionEventSession + fun fromJsonObject(com.google.gson.JsonObject): ActionEventSession + data class View + constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): View + fun fromJsonObject(com.google.gson.JsonObject): View + data class Usr + constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Usr + fun fromJsonObject(com.google.gson.JsonObject): Usr + data class Connectivity + constructor(Status, kotlin.collections.List, Cellular? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Connectivity + fun fromJsonObject(com.google.gson.JsonObject): Connectivity + data class Display + constructor(Viewport? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Display + fun fromJsonObject(com.google.gson.JsonObject): Display + data class Synthetics + constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Synthetics + fun fromJsonObject(com.google.gson.JsonObject): Synthetics + data class CiTest + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): CiTest + fun fromJsonObject(com.google.gson.JsonObject): CiTest + data class Os + constructor(kotlin.String, kotlin.String, kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Os + fun fromJsonObject(com.google.gson.JsonObject): Os + data class Device + constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Device + fun fromJsonObject(com.google.gson.JsonObject): Device + data class Dd + constructor(DdSession? = null, kotlin.String? = null, DdAction? = null) + val formatVersion: kotlin.Long + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Dd + fun fromJsonObject(com.google.gson.JsonObject): Dd + data class Context + constructor(kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Context + fun fromJsonObject(com.google.gson.JsonObject): Context + data class ActionEventAction + constructor(ActionEventActionType, kotlin.String? = null, kotlin.Long? = null, ActionEventActionTarget? = null, Frustration? = null, Error? = null, Crash? = null, LongTask? = null, Resource? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ActionEventAction + fun fromJsonObject(com.google.gson.JsonObject): ActionEventAction + data class Cellular + constructor(kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Cellular + fun fromJsonObject(com.google.gson.JsonObject): Cellular + data class Viewport + constructor(kotlin.Number, kotlin.Number) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Viewport + fun fromJsonObject(com.google.gson.JsonObject): Viewport + data class DdSession + constructor(Plan) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DdSession + fun fromJsonObject(com.google.gson.JsonObject): DdSession + data class DdAction + constructor(Position? = null, DdActionTarget? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DdAction + fun fromJsonObject(com.google.gson.JsonObject): DdAction + data class ActionEventActionTarget + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ActionEventActionTarget + fun fromJsonObject(com.google.gson.JsonObject): ActionEventActionTarget + data class Frustration + constructor(kotlin.collections.List) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Frustration + fun fromJsonObject(com.google.gson.JsonObject): Frustration + data class Error + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Error + fun fromJsonObject(com.google.gson.JsonObject): Error + data class Crash + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Crash + fun fromJsonObject(com.google.gson.JsonObject): Crash + data class LongTask + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): LongTask + fun fromJsonObject(com.google.gson.JsonObject): LongTask + data class Resource + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Resource + fun fromJsonObject(com.google.gson.JsonObject): Resource + data class Position + constructor(kotlin.Long, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Position + fun fromJsonObject(com.google.gson.JsonObject): Position + data class DdActionTarget + constructor(kotlin.String? = null, kotlin.Long? = null, kotlin.Long? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DdActionTarget + fun fromJsonObject(com.google.gson.JsonObject): DdActionTarget + enum Source + constructor(kotlin.String) + - ANDROID + - IOS + - BROWSER + - FLUTTER + - REACT_NATIVE + - ROKU + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Source + enum ActionEventSessionType + constructor(kotlin.String) + - USER + - SYNTHETICS + - CI_TEST + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ActionEventSessionType + enum Status + constructor(kotlin.String) + - CONNECTED + - NOT_CONNECTED + - MAYBE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Status + enum Interface + constructor(kotlin.String) + - BLUETOOTH + - CELLULAR + - ETHERNET + - WIFI + - WIMAX + - MIXED + - OTHER + - UNKNOWN + - NONE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Interface + enum DeviceType + constructor(kotlin.String) + - MOBILE + - DESKTOP + - TABLET + - TV + - GAMING_CONSOLE + - BOT + - OTHER + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DeviceType + enum ActionEventActionType + constructor(kotlin.String) + - CUSTOM + - CLICK + - TAP + - SCROLL + - SWIPE + - APPLICATION_START + - BACK + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ActionEventActionType + enum Plan + constructor(kotlin.Number) + - PLAN_1 + - PLAN_2 + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Plan + enum Type + constructor(kotlin.String) + - RAGE_CLICK + - DEAD_CLICK + - ERROR_CLICK + - RAGE_TAP + - ERROR_TAP + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Type +data class com.datadog.android.rum.model.ErrorEvent + constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, ErrorEventSession, ErrorEventSource? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Error) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ErrorEvent + fun fromJsonObject(com.google.gson.JsonObject): ErrorEvent + data class Application + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Application + fun fromJsonObject(com.google.gson.JsonObject): Application + data class ErrorEventSession + constructor(kotlin.String, ErrorEventSessionType, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ErrorEventSession + fun fromJsonObject(com.google.gson.JsonObject): ErrorEventSession + data class View + constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): View + fun fromJsonObject(com.google.gson.JsonObject): View + data class Usr + constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Usr + fun fromJsonObject(com.google.gson.JsonObject): Usr + data class Connectivity + constructor(Status, kotlin.collections.List, Cellular? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Connectivity + fun fromJsonObject(com.google.gson.JsonObject): Connectivity + data class Display + constructor(Viewport? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Display + fun fromJsonObject(com.google.gson.JsonObject): Display + data class Synthetics + constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Synthetics + fun fromJsonObject(com.google.gson.JsonObject): Synthetics + data class CiTest + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): CiTest + fun fromJsonObject(com.google.gson.JsonObject): CiTest + data class Os + constructor(kotlin.String, kotlin.String, kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Os + fun fromJsonObject(com.google.gson.JsonObject): Os + data class Device + constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Device + fun fromJsonObject(com.google.gson.JsonObject): Device + data class Dd + constructor(DdSession? = null, kotlin.String? = null) + val formatVersion: kotlin.Long + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Dd + fun fromJsonObject(com.google.gson.JsonObject): Dd + data class Context + constructor(kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Context + fun fromJsonObject(com.google.gson.JsonObject): Context + data class Action + constructor(kotlin.collections.List) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Action + fun fromJsonObject(com.google.gson.JsonObject): Action + data class Error + constructor(kotlin.String? = null, kotlin.String, ErrorSource, kotlin.String? = null, kotlin.collections.List? = null, kotlin.Boolean? = null, kotlin.String? = null, Handling? = null, kotlin.String? = null, SourceType? = null, Resource? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Error + fun fromJsonObject(com.google.gson.JsonObject): Error + data class Cellular + constructor(kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Cellular + fun fromJsonObject(com.google.gson.JsonObject): Cellular + data class Viewport + constructor(kotlin.Number, kotlin.Number) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Viewport + fun fromJsonObject(com.google.gson.JsonObject): Viewport + data class DdSession + constructor(Plan) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DdSession + fun fromJsonObject(com.google.gson.JsonObject): DdSession + data class Cause + constructor(kotlin.String, kotlin.String? = null, kotlin.String? = null, ErrorSource) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Cause + fun fromJsonObject(com.google.gson.JsonObject): Cause + data class Resource + constructor(Method, kotlin.Long, kotlin.String, Provider? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Resource + fun fromJsonObject(com.google.gson.JsonObject): Resource + data class Provider + constructor(kotlin.String? = null, kotlin.String? = null, ProviderType? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Provider + fun fromJsonObject(com.google.gson.JsonObject): Provider + enum ErrorEventSource + constructor(kotlin.String) + - ANDROID + - IOS + - BROWSER + - FLUTTER + - REACT_NATIVE + - ROKU + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ErrorEventSource + enum ErrorEventSessionType + constructor(kotlin.String) + - USER + - SYNTHETICS + - CI_TEST + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ErrorEventSessionType + enum Status + constructor(kotlin.String) + - CONNECTED + - NOT_CONNECTED + - MAYBE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Status + enum Interface + constructor(kotlin.String) + - BLUETOOTH + - CELLULAR + - ETHERNET + - WIFI + - WIMAX + - MIXED + - OTHER + - UNKNOWN + - NONE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Interface + enum DeviceType + constructor(kotlin.String) + - MOBILE + - DESKTOP + - TABLET + - TV + - GAMING_CONSOLE + - BOT + - OTHER + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DeviceType + enum ErrorSource + constructor(kotlin.String) + - NETWORK + - SOURCE + - CONSOLE + - LOGGER + - AGENT + - WEBVIEW + - CUSTOM + - REPORT + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ErrorSource + enum Handling + constructor(kotlin.String) + - HANDLED + - UNHANDLED + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Handling + enum SourceType + constructor(kotlin.String) + - ANDROID + - BROWSER + - IOS + - REACT_NATIVE + - FLUTTER + - ROKU + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): SourceType + enum Plan + constructor(kotlin.Number) + - PLAN_1 + - PLAN_2 + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Plan + enum Method + constructor(kotlin.String) + - POST + - GET + - HEAD + - PUT + - DELETE + - PATCH + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Method + enum ProviderType + constructor(kotlin.String) + - AD + - ADVERTISING + - ANALYTICS + - CDN + - CONTENT + - CUSTOMER_SUCCESS + - FIRST_PARTY + - HOSTING + - MARKETING + - OTHER + - SOCIAL + - TAG_MANAGER + - UTILITY + - VIDEO + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ProviderType +data class com.datadog.android.rum.model.LongTaskEvent + constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, LongTaskEventSession, Source? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, LongTask) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): LongTaskEvent + fun fromJsonObject(com.google.gson.JsonObject): LongTaskEvent + data class Application + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Application + fun fromJsonObject(com.google.gson.JsonObject): Application + data class LongTaskEventSession + constructor(kotlin.String, LongTaskEventSessionType, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): LongTaskEventSession + fun fromJsonObject(com.google.gson.JsonObject): LongTaskEventSession + data class View + constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): View + fun fromJsonObject(com.google.gson.JsonObject): View + data class Usr + constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Usr + fun fromJsonObject(com.google.gson.JsonObject): Usr + data class Connectivity + constructor(Status, kotlin.collections.List, Cellular? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Connectivity + fun fromJsonObject(com.google.gson.JsonObject): Connectivity + data class Display + constructor(Viewport? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Display + fun fromJsonObject(com.google.gson.JsonObject): Display + data class Synthetics + constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Synthetics + fun fromJsonObject(com.google.gson.JsonObject): Synthetics + data class CiTest + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): CiTest + fun fromJsonObject(com.google.gson.JsonObject): CiTest + data class Os + constructor(kotlin.String, kotlin.String, kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Os + fun fromJsonObject(com.google.gson.JsonObject): Os + data class Device + constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Device + fun fromJsonObject(com.google.gson.JsonObject): Device + data class Dd + constructor(DdSession? = null, kotlin.String? = null, kotlin.Boolean? = null) + val formatVersion: kotlin.Long + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Dd + fun fromJsonObject(com.google.gson.JsonObject): Dd + data class Context + constructor(kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Context + fun fromJsonObject(com.google.gson.JsonObject): Context + data class Action + constructor(kotlin.collections.List) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Action + fun fromJsonObject(com.google.gson.JsonObject): Action + data class LongTask + constructor(kotlin.String? = null, kotlin.Long, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): LongTask + fun fromJsonObject(com.google.gson.JsonObject): LongTask + data class Cellular + constructor(kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Cellular + fun fromJsonObject(com.google.gson.JsonObject): Cellular + data class Viewport + constructor(kotlin.Number, kotlin.Number) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Viewport + fun fromJsonObject(com.google.gson.JsonObject): Viewport + data class DdSession + constructor(Plan) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DdSession + fun fromJsonObject(com.google.gson.JsonObject): DdSession + enum Source + constructor(kotlin.String) + - ANDROID + - IOS + - BROWSER + - FLUTTER + - REACT_NATIVE + - ROKU + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Source + enum LongTaskEventSessionType + constructor(kotlin.String) + - USER + - SYNTHETICS + - CI_TEST + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): LongTaskEventSessionType + enum Status + constructor(kotlin.String) + - CONNECTED + - NOT_CONNECTED + - MAYBE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Status + enum Interface + constructor(kotlin.String) + - BLUETOOTH + - CELLULAR + - ETHERNET + - WIFI + - WIMAX + - MIXED + - OTHER + - UNKNOWN + - NONE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Interface + enum DeviceType + constructor(kotlin.String) + - MOBILE + - DESKTOP + - TABLET + - TV + - GAMING_CONSOLE + - BOT + - OTHER + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DeviceType + enum Plan + constructor(kotlin.Number) + - PLAN_1 + - PLAN_2 + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Plan +data class com.datadog.android.rum.model.ResourceEvent + constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, ResourceEventSession, Source? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Resource) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ResourceEvent + fun fromJsonObject(com.google.gson.JsonObject): ResourceEvent + data class Application + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Application + fun fromJsonObject(com.google.gson.JsonObject): Application + data class ResourceEventSession + constructor(kotlin.String, ResourceEventSessionType, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ResourceEventSession + fun fromJsonObject(com.google.gson.JsonObject): ResourceEventSession + data class View + constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): View + fun fromJsonObject(com.google.gson.JsonObject): View + data class Usr + constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Usr + fun fromJsonObject(com.google.gson.JsonObject): Usr + data class Connectivity + constructor(Status, kotlin.collections.List, Cellular? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Connectivity + fun fromJsonObject(com.google.gson.JsonObject): Connectivity + data class Display + constructor(Viewport? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Display + fun fromJsonObject(com.google.gson.JsonObject): Display + data class Synthetics + constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Synthetics + fun fromJsonObject(com.google.gson.JsonObject): Synthetics + data class CiTest + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): CiTest + fun fromJsonObject(com.google.gson.JsonObject): CiTest + data class Os + constructor(kotlin.String, kotlin.String, kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Os + fun fromJsonObject(com.google.gson.JsonObject): Os + data class Device + constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Device + fun fromJsonObject(com.google.gson.JsonObject): Device + data class Dd + constructor(DdSession? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.Number? = null, kotlin.Boolean? = null) + val formatVersion: kotlin.Long + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Dd + fun fromJsonObject(com.google.gson.JsonObject): Dd + data class Context + constructor(kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Context + fun fromJsonObject(com.google.gson.JsonObject): Context + data class Action + constructor(kotlin.collections.List) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Action + fun fromJsonObject(com.google.gson.JsonObject): Action + data class Resource + constructor(kotlin.String? = null, ResourceType, Method? = null, kotlin.String, kotlin.Long? = null, kotlin.Long, kotlin.Long? = null, Redirect? = null, Dns? = null, Connect? = null, Ssl? = null, FirstByte? = null, Download? = null, Provider? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Resource + fun fromJsonObject(com.google.gson.JsonObject): Resource + data class Cellular + constructor(kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Cellular + fun fromJsonObject(com.google.gson.JsonObject): Cellular + data class Viewport + constructor(kotlin.Number, kotlin.Number) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Viewport + fun fromJsonObject(com.google.gson.JsonObject): Viewport + data class DdSession + constructor(Plan) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DdSession + fun fromJsonObject(com.google.gson.JsonObject): DdSession + data class Redirect + constructor(kotlin.Long, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Redirect + fun fromJsonObject(com.google.gson.JsonObject): Redirect + data class Dns + constructor(kotlin.Long, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Dns + fun fromJsonObject(com.google.gson.JsonObject): Dns + data class Connect + constructor(kotlin.Long, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Connect + fun fromJsonObject(com.google.gson.JsonObject): Connect + data class Ssl + constructor(kotlin.Long, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Ssl + fun fromJsonObject(com.google.gson.JsonObject): Ssl + data class FirstByte + constructor(kotlin.Long, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): FirstByte + fun fromJsonObject(com.google.gson.JsonObject): FirstByte + data class Download + constructor(kotlin.Long, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Download + fun fromJsonObject(com.google.gson.JsonObject): Download + data class Provider + constructor(kotlin.String? = null, kotlin.String? = null, ProviderType? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Provider + fun fromJsonObject(com.google.gson.JsonObject): Provider + enum Source + constructor(kotlin.String) + - ANDROID + - IOS + - BROWSER + - FLUTTER + - REACT_NATIVE + - ROKU + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Source + enum ResourceEventSessionType + constructor(kotlin.String) + - USER + - SYNTHETICS + - CI_TEST + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ResourceEventSessionType + enum Status + constructor(kotlin.String) + - CONNECTED + - NOT_CONNECTED + - MAYBE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Status + enum Interface + constructor(kotlin.String) + - BLUETOOTH + - CELLULAR + - ETHERNET + - WIFI + - WIMAX + - MIXED + - OTHER + - UNKNOWN + - NONE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Interface + enum DeviceType + constructor(kotlin.String) + - MOBILE + - DESKTOP + - TABLET + - TV + - GAMING_CONSOLE + - BOT + - OTHER + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DeviceType + enum ResourceType + constructor(kotlin.String) + - DOCUMENT + - XHR + - BEACON + - FETCH + - CSS + - JS + - IMAGE + - FONT + - MEDIA + - OTHER + - NATIVE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ResourceType + enum Method + constructor(kotlin.String) + - POST + - GET + - HEAD + - PUT + - DELETE + - PATCH + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Method + enum Plan + constructor(kotlin.Number) + - PLAN_1 + - PLAN_2 + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Plan + enum ProviderType + constructor(kotlin.String) + - AD + - ADVERTISING + - ANALYTICS + - CDN + - CONTENT + - CUSTOMER_SUCCESS + - FIRST_PARTY + - HOSTING + - MARKETING + - OTHER + - SOCIAL + - TAG_MANAGER + - UTILITY + - VIDEO + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ProviderType +data class com.datadog.android.rum.model.RumPerfMetric + constructor(kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): RumPerfMetric + fun fromJsonObject(com.google.gson.JsonObject): RumPerfMetric +data class com.datadog.android.rum.model.ViewEvent + constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, ViewEventSession, Source? = null, View, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ViewEvent + fun fromJsonObject(com.google.gson.JsonObject): ViewEvent + data class Application + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Application + fun fromJsonObject(com.google.gson.JsonObject): Application + data class ViewEventSession + constructor(kotlin.String, ViewEventSessionType, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ViewEventSession + fun fromJsonObject(com.google.gson.JsonObject): ViewEventSession + data class View + constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null, kotlin.Long? = null, LoadingType? = null, kotlin.Long, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Number? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, CustomTimings? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, Action, Error, Crash? = null, LongTask? = null, FrozenFrame? = null, Resource, Frustration? = null, kotlin.collections.List? = null, kotlin.Number? = null, kotlin.Number? = null, kotlin.Number? = null, kotlin.Number? = null, kotlin.Number? = null, kotlin.Number? = null, FlutterBuildTime? = null, FlutterBuildTime? = null, FlutterBuildTime? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): View + fun fromJsonObject(com.google.gson.JsonObject): View + data class Usr + constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Usr + fun fromJsonObject(com.google.gson.JsonObject): Usr + data class Connectivity + constructor(Status, kotlin.collections.List, Cellular? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Connectivity + fun fromJsonObject(com.google.gson.JsonObject): Connectivity + data class Display + constructor(Viewport? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Display + fun fromJsonObject(com.google.gson.JsonObject): Display + data class Synthetics + constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Synthetics + fun fromJsonObject(com.google.gson.JsonObject): Synthetics + data class CiTest + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): CiTest + fun fromJsonObject(com.google.gson.JsonObject): CiTest + data class Os + constructor(kotlin.String, kotlin.String, kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Os + fun fromJsonObject(com.google.gson.JsonObject): Os + data class Device + constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Device + fun fromJsonObject(com.google.gson.JsonObject): Device + data class Dd + constructor(DdSession? = null, kotlin.String? = null, kotlin.Long) + val formatVersion: kotlin.Long + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Dd + fun fromJsonObject(com.google.gson.JsonObject): Dd + data class Context + constructor(kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Context + fun fromJsonObject(com.google.gson.JsonObject): Context + data class CustomTimings + constructor(kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): CustomTimings + fun fromJsonObject(com.google.gson.JsonObject): CustomTimings + data class Action + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Action + fun fromJsonObject(com.google.gson.JsonObject): Action + data class Error + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Error + fun fromJsonObject(com.google.gson.JsonObject): Error + data class Crash + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Crash + fun fromJsonObject(com.google.gson.JsonObject): Crash + data class LongTask + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): LongTask + fun fromJsonObject(com.google.gson.JsonObject): LongTask + data class FrozenFrame + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): FrozenFrame + fun fromJsonObject(com.google.gson.JsonObject): FrozenFrame + data class Resource + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Resource + fun fromJsonObject(com.google.gson.JsonObject): Resource + data class Frustration + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Frustration + fun fromJsonObject(com.google.gson.JsonObject): Frustration + data class InForegroundPeriod + constructor(kotlin.Long, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): InForegroundPeriod + fun fromJsonObject(com.google.gson.JsonObject): InForegroundPeriod + data class FlutterBuildTime + constructor(kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): FlutterBuildTime + fun fromJsonObject(com.google.gson.JsonObject): FlutterBuildTime + data class Cellular + constructor(kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Cellular + fun fromJsonObject(com.google.gson.JsonObject): Cellular + data class Viewport + constructor(kotlin.Number, kotlin.Number) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Viewport + fun fromJsonObject(com.google.gson.JsonObject): Viewport + data class DdSession + constructor(Plan) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DdSession + fun fromJsonObject(com.google.gson.JsonObject): DdSession + enum Source + constructor(kotlin.String) + - ANDROID + - IOS + - BROWSER + - FLUTTER + - REACT_NATIVE + - ROKU + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Source + enum ViewEventSessionType + constructor(kotlin.String) + - USER + - SYNTHETICS + - CI_TEST + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ViewEventSessionType + enum LoadingType + constructor(kotlin.String) + - INITIAL_LOAD + - ROUTE_CHANGE + - ACTIVITY_DISPLAY + - ACTIVITY_REDISPLAY + - FRAGMENT_DISPLAY + - FRAGMENT_REDISPLAY + - VIEW_CONTROLLER_DISPLAY + - VIEW_CONTROLLER_REDISPLAY + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): LoadingType + enum Status + constructor(kotlin.String) + - CONNECTED + - NOT_CONNECTED + - MAYBE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Status + enum Interface + constructor(kotlin.String) + - BLUETOOTH + - CELLULAR + - ETHERNET + - WIFI + - WIMAX + - MIXED + - OTHER + - UNKNOWN + - NONE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Interface + enum DeviceType + constructor(kotlin.String) + - MOBILE + - DESKTOP + - TABLET + - TV + - GAMING_CONSOLE + - BOT + - OTHER + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): DeviceType + enum Plan + constructor(kotlin.Number) + - PLAN_1 + - PLAN_2 + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Plan +data class com.datadog.android.telemetry.model.TelemetryConfigurationEvent + constructor(Dd, kotlin.Long, kotlin.String, Source, kotlin.String, Application? = null, Session? = null, View? = null, Action? = null, kotlin.collections.List? = null, Telemetry) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): TelemetryConfigurationEvent + fun fromJsonObject(com.google.gson.JsonObject): TelemetryConfigurationEvent + class Dd + val formatVersion: kotlin.Long + fun toJson(): com.google.gson.JsonElement + data class Application + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Application + fun fromJsonObject(com.google.gson.JsonObject): Application + data class Session + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Session + fun fromJsonObject(com.google.gson.JsonObject): Session + data class View + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): View + fun fromJsonObject(com.google.gson.JsonObject): View + data class Action + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Action + fun fromJsonObject(com.google.gson.JsonObject): Action + data class Telemetry + constructor(Configuration) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Telemetry + fun fromJsonObject(com.google.gson.JsonObject): Telemetry + data class Configuration + constructor(kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.String? = null, kotlin.Boolean? = null, kotlin.String? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.collections.List? = null, kotlin.collections.List? = null, kotlin.Boolean? = null, ViewTrackingStrategy? = null, kotlin.Boolean? = null, kotlin.Long? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.Boolean? = null, kotlin.String? = null, kotlin.Boolean? = null, kotlin.Long? = null, kotlin.Long? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Configuration + fun fromJsonObject(com.google.gson.JsonObject): Configuration + enum Source + constructor(kotlin.String) + - ANDROID + - IOS + - BROWSER + - FLUTTER + - REACT_NATIVE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Source + enum ViewTrackingStrategy + constructor(kotlin.String) + - ACTIVITYVIEWTRACKINGSTRATEGY + - FRAGMENTVIEWTRACKINGSTRATEGY + - MIXEDVIEWTRACKINGSTRATEGY + - NAVIGATIONVIEWTRACKINGSTRATEGY + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ViewTrackingStrategy +data class com.datadog.android.telemetry.model.TelemetryDebugEvent + constructor(Dd, kotlin.Long, kotlin.String, Source, kotlin.String, Application? = null, Session? = null, View? = null, Action? = null, kotlin.collections.List? = null, Telemetry) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): TelemetryDebugEvent + fun fromJsonObject(com.google.gson.JsonObject): TelemetryDebugEvent + class Dd + val formatVersion: kotlin.Long + fun toJson(): com.google.gson.JsonElement + data class Application + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Application + fun fromJsonObject(com.google.gson.JsonObject): Application + data class Session + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Session + fun fromJsonObject(com.google.gson.JsonObject): Session + data class View + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): View + fun fromJsonObject(com.google.gson.JsonObject): View + data class Action + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Action + fun fromJsonObject(com.google.gson.JsonObject): Action + data class Telemetry + constructor(kotlin.String) + val type: kotlin.String + val status: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Telemetry + fun fromJsonObject(com.google.gson.JsonObject): Telemetry + enum Source + constructor(kotlin.String) + - ANDROID + - IOS + - BROWSER + - FLUTTER + - REACT_NATIVE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Source +data class com.datadog.android.telemetry.model.TelemetryErrorEvent + constructor(Dd, kotlin.Long, kotlin.String, Source, kotlin.String, Application? = null, Session? = null, View? = null, Action? = null, kotlin.collections.List? = null, Telemetry) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): TelemetryErrorEvent + fun fromJsonObject(com.google.gson.JsonObject): TelemetryErrorEvent + class Dd + val formatVersion: kotlin.Long + fun toJson(): com.google.gson.JsonElement + data class Application + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Application + fun fromJsonObject(com.google.gson.JsonObject): Application + data class Session + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Session + fun fromJsonObject(com.google.gson.JsonObject): Session + data class View + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): View + fun fromJsonObject(com.google.gson.JsonObject): View + data class Action + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Action + fun fromJsonObject(com.google.gson.JsonObject): Action + data class Telemetry + constructor(kotlin.String, Error? = null) + val type: kotlin.String + val status: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Telemetry + fun fromJsonObject(com.google.gson.JsonObject): Telemetry + data class Error + constructor(kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Error + fun fromJsonObject(com.google.gson.JsonObject): Error + enum Source + constructor(kotlin.String) + - ANDROID + - IOS + - BROWSER + - FLUTTER + - REACT_NATIVE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Source +data class com.datadog.android.tracing.model.SpanEvent + constructor(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.Long, kotlin.Long, kotlin.Long = 0L, Metrics, Meta) + val type: kotlin.String + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): SpanEvent + fun fromJsonObject(com.google.gson.JsonObject): SpanEvent + data class Metrics + constructor(kotlin.Long? = null, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Metrics + fun fromJsonObject(com.google.gson.JsonObject): Metrics + data class Meta + constructor(kotlin.String, Dd, Span, Tracer, Usr, Network, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Meta + fun fromJsonObject(com.google.gson.JsonObject): Meta + data class Dd + constructor(kotlin.String? = "android") + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Dd + fun fromJsonObject(com.google.gson.JsonObject): Dd + class Span + val kind: kotlin.String + fun toJson(): com.google.gson.JsonElement + data class Tracer + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Tracer + fun fromJsonObject(com.google.gson.JsonObject): Tracer + data class Usr + constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap = mutableMapOf()) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Usr + fun fromJsonObject(com.google.gson.JsonObject): Usr + data class Network + constructor(Client) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Network + fun fromJsonObject(com.google.gson.JsonObject): Network + data class Client + constructor(SimCarrier? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Client + fun fromJsonObject(com.google.gson.JsonObject): Client + data class SimCarrier + constructor(kotlin.String? = null, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): SimCarrier + fun fromJsonObject(com.google.gson.JsonObject): SimCarrier diff --git a/library/dd-sdk-android-session-replay/apiSurface b/library/dd-sdk-android-session-replay/apiSurface index e8dd3668da..13ebee6c77 100644 --- a/library/dd-sdk-android-session-replay/apiSurface +++ b/library/dd-sdk-android-session-replay/apiSurface @@ -42,3 +42,247 @@ data class com.datadog.android.sessionreplay.utils.SessionReplayRumContext companion object interface com.datadog.android.sessionreplay.utils.TimeProvider fun getDeviceTimestamp(): Long +data class com.datadog.android.sessionreplay.model.MobileSegment + constructor(Application, Session, View, kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long? = null, kotlin.Boolean? = null, Source, kotlin.collections.List) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): MobileSegment + fun fromJsonObject(com.google.gson.JsonObject): MobileSegment + data class Application + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Application + fun fromJsonObject(com.google.gson.JsonObject): Application + data class Session + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Session + fun fromJsonObject(com.google.gson.JsonObject): Session + data class View + constructor(kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): View + fun fromJsonObject(com.google.gson.JsonObject): View + sealed class MobileRecord + abstract fun toJson(): com.google.gson.JsonElement + data class MobileFullSnapshotRecord : MobileRecord + constructor(kotlin.Long, Data) + val type: kotlin.Long + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): MobileFullSnapshotRecord + fun fromJsonObject(com.google.gson.JsonObject): MobileFullSnapshotRecord + data class MobileIncrementalSnapshotRecord : MobileRecord + constructor(kotlin.Long, MobileIncrementalData) + val type: kotlin.Long + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): MobileIncrementalSnapshotRecord + fun fromJsonObject(com.google.gson.JsonObject): MobileIncrementalSnapshotRecord + data class MetaRecord : MobileRecord + constructor(kotlin.Long, Data1) + val type: kotlin.Long + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): MetaRecord + fun fromJsonObject(com.google.gson.JsonObject): MetaRecord + data class FocusRecord : MobileRecord + constructor(kotlin.Long, Data2) + val type: kotlin.Long + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): FocusRecord + fun fromJsonObject(com.google.gson.JsonObject): FocusRecord + data class ViewEndRecord : MobileRecord + constructor(kotlin.Long) + val type: kotlin.Long + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ViewEndRecord + fun fromJsonObject(com.google.gson.JsonObject): ViewEndRecord + data class VisualViewportRecord : MobileRecord + constructor(kotlin.Long, Data3) + val type: kotlin.Long + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): VisualViewportRecord + fun fromJsonObject(com.google.gson.JsonObject): VisualViewportRecord + companion object + fun fromJson(kotlin.String): MobileRecord + fun fromJsonObject(com.google.gson.JsonObject): MobileRecord + data class Data + constructor(kotlin.collections.List) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Data + fun fromJsonObject(com.google.gson.JsonObject): Data + sealed class MobileIncrementalData + abstract fun toJson(): com.google.gson.JsonElement + data class MobileMutationData : MobileIncrementalData + constructor(kotlin.collections.List? = null, kotlin.collections.List? = null, kotlin.collections.List? = null) + val source: kotlin.Long + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): MobileMutationData + fun fromJsonObject(com.google.gson.JsonObject): MobileMutationData + data class TouchData : MobileIncrementalData + constructor(kotlin.collections.List? = null) + val source: kotlin.Long + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): TouchData + fun fromJsonObject(com.google.gson.JsonObject): TouchData + data class ViewportResizeData : MobileIncrementalData + constructor(kotlin.Long, kotlin.Long) + val source: kotlin.Long + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ViewportResizeData + fun fromJsonObject(com.google.gson.JsonObject): ViewportResizeData + companion object + fun fromJson(kotlin.String): MobileIncrementalData + fun fromJsonObject(com.google.gson.JsonObject): MobileIncrementalData + data class Data1 + constructor(kotlin.Long, kotlin.Long, kotlin.String? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Data1 + fun fromJsonObject(com.google.gson.JsonObject): Data1 + data class Data2 + constructor(kotlin.Boolean) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Data2 + fun fromJsonObject(com.google.gson.JsonObject): Data2 + data class Data3 + constructor(kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.Number) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Data3 + fun fromJsonObject(com.google.gson.JsonObject): Data3 + sealed class Wireframe + abstract fun toJson(): com.google.gson.JsonElement + data class ShapeWireframe : Wireframe + constructor(kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long, WireframeClip? = null, ShapeStyle? = null, ShapeBorder? = null) + val type: kotlin.String + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ShapeWireframe + fun fromJsonObject(com.google.gson.JsonObject): ShapeWireframe + data class TextWireframe : Wireframe + constructor(kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long, WireframeClip? = null, ShapeStyle? = null, ShapeBorder? = null, kotlin.String, TextStyle, TextPosition? = null) + val type: kotlin.String + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): TextWireframe + fun fromJsonObject(com.google.gson.JsonObject): TextWireframe + companion object + fun fromJson(kotlin.String): Wireframe + fun fromJsonObject(com.google.gson.JsonObject): Wireframe + data class Add + constructor(kotlin.Long? = null, Wireframe) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Add + fun fromJsonObject(com.google.gson.JsonObject): Add + data class Remove + constructor(kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Remove + fun fromJsonObject(com.google.gson.JsonObject): Remove + sealed class WireframeUpdateMutation + abstract fun toJson(): com.google.gson.JsonElement + data class TextWireframeUpdate : WireframeUpdateMutation + constructor(kotlin.Long, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, WireframeClip? = null, ShapeStyle? = null, ShapeBorder? = null, kotlin.String? = null, TextStyle? = null, TextPosition? = null) + val type: kotlin.String + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): TextWireframeUpdate + fun fromJsonObject(com.google.gson.JsonObject): TextWireframeUpdate + data class ShapeWireframeUpdate : WireframeUpdateMutation + constructor(kotlin.Long, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, WireframeClip? = null, ShapeStyle? = null, ShapeBorder? = null) + val type: kotlin.String + override fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ShapeWireframeUpdate + fun fromJsonObject(com.google.gson.JsonObject): ShapeWireframeUpdate + companion object + fun fromJson(kotlin.String): WireframeUpdateMutation + fun fromJsonObject(com.google.gson.JsonObject): WireframeUpdateMutation + data class Position + constructor(kotlin.Long, kotlin.Long, kotlin.Long, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Position + fun fromJsonObject(com.google.gson.JsonObject): Position + data class WireframeClip + constructor(kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): WireframeClip + fun fromJsonObject(com.google.gson.JsonObject): WireframeClip + data class ShapeStyle + constructor(kotlin.String? = null, kotlin.Number? = null, kotlin.Number? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ShapeStyle + fun fromJsonObject(com.google.gson.JsonObject): ShapeStyle + data class ShapeBorder + constructor(kotlin.String, kotlin.Long) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): ShapeBorder + fun fromJsonObject(com.google.gson.JsonObject): ShapeBorder + data class TextStyle + constructor(kotlin.String, kotlin.Long, kotlin.String) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): TextStyle + fun fromJsonObject(com.google.gson.JsonObject): TextStyle + data class TextPosition + constructor(Padding? = null, Alignment? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): TextPosition + fun fromJsonObject(com.google.gson.JsonObject): TextPosition + data class Padding + constructor(kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null, kotlin.Long? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Padding + fun fromJsonObject(com.google.gson.JsonObject): Padding + data class Alignment + constructor(Horizontal? = null, Vertical? = null) + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Alignment + fun fromJsonObject(com.google.gson.JsonObject): Alignment + enum Source + constructor(kotlin.String) + - ANDROID + - IOS + - FLUTTER + - REACT_NATIVE + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Source + enum Horizontal + constructor(kotlin.String) + - LEFT + - RIGHT + - CENTER + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Horizontal + enum Vertical + constructor(kotlin.String) + - TOP + - BOTTOM + - CENTER + fun toJson(): com.google.gson.JsonElement + companion object + fun fromJson(kotlin.String): Vertical