diff --git a/dd-sdk-android/apiSurface b/dd-sdk-android/apiSurface index 45ea863690..148539c2a5 100644 --- a/dd-sdk-android/apiSurface +++ b/dd-sdk-android/apiSurface @@ -1837,10 +1837,6 @@ interface com.datadog.android.v2.api.InternalLogger - TELEMETRY fun log(Level, Target, String, Throwable?, Map) fun log(Level, List, String, Throwable?, Map) -interface com.datadog.android.v2.api.PayloadFormat - fun prefixBytes(): ByteArray - fun suffixBytes(): ByteArray - fun separatorBytes(): ByteArray data class com.datadog.android.v2.api.Request constructor(String, String, String, Map, ByteArray, String? = null) interface com.datadog.android.v2.api.RequestFactory @@ -1870,12 +1866,6 @@ interface com.datadog.android.v2.api.SdkCore fun getFeatureContext(String): Map fun setEventReceiver(String, FeatureEventReceiver) fun removeEventReceiver(String) -enum com.datadog.android.v2.api.SdkEndpoint - - US1 - - US3 - - US5 - - US1_FED - - EU1 data class com.datadog.android.v2.api.context.CarrierInfo constructor(String?, String?) data class com.datadog.android.v2.api.context.DatadogContext diff --git a/dd-sdk-android/src/main/kotlin/com/datadog/android/v2/api/PayloadFormat.kt b/dd-sdk-android/src/main/kotlin/com/datadog/android/v2/api/PayloadFormat.kt deleted file mode 100644 index 850f57deb5..0000000000 --- a/dd-sdk-android/src/main/kotlin/com/datadog/android/v2/api/PayloadFormat.kt +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2016-Present Datadog, Inc. - */ - -package com.datadog.android.v2.api - -/** - * Describes the format of a payload for an instance of [SDKFeature]. - */ -interface PayloadFormat { - - /** - * @return the prefix of a payload, appended before the first item in the payload. - */ - fun prefixBytes(): ByteArray - - /** - * @return the suffix of a payload, appended after the last item in the payload. - */ - fun suffixBytes(): ByteArray - - /** - * @return the separator of a payload, appended between each item in the payload. - */ - fun separatorBytes(): ByteArray -} diff --git a/dd-sdk-android/src/main/kotlin/com/datadog/android/v2/api/SdkEndpoint.kt b/dd-sdk-android/src/main/kotlin/com/datadog/android/v2/api/SdkEndpoint.kt deleted file mode 100644 index b6ad60ae32..0000000000 --- a/dd-sdk-android/src/main/kotlin/com/datadog/android/v2/api/SdkEndpoint.kt +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2016-Present Datadog, Inc. - */ - -package com.datadog.android.v2.api - -/** - * One of Datadog's official endpoints, related to our existing datacenters. - */ -enum class SdkEndpoint { - US1, - US3, - US5, - US1_FED, - EU1 - // DISCUSS should staging endpoints be available here - // DISCUSS What about custom endpoints? -}