Skip to content

Commit afa3316

Browse files
committed
update docs
1 parent 16b0c01 commit afa3316

File tree

1 file changed

+4
-4
lines changed
  • features/dd-sdk-android-flags/src/main/kotlin/com/datadog/android/flags

1 file changed

+4
-4
lines changed

features/dd-sdk-android-flags/src/main/kotlin/com/datadog/android/flags/FlagsClient.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ interface FlagsClient {
108108
fun resolveIntValue(flagKey: String, defaultValue: Int): Int
109109

110110
/**
111-
* Resolves a structured flag value as a JSON object.
111+
* Resolves a structured flag value as a [JSONObject]
112112
*
113113
* @param flagKey The unique identifier of the flag to resolve.
114114
* @param defaultValue The value to return if the flag cannot be retrieved or parsed.
@@ -117,14 +117,14 @@ interface FlagsClient {
117117
fun resolveStructureValue(flagKey: String, defaultValue: JSONObject): JSONObject
118118

119119
/**
120-
* Resolves a structured flag value as a Map with no JSON types (overload).
120+
* Resolves a structured flag value as a Map.
121121
*
122122
* The returned Map contains only primitives (String, Int, Long, Double, Boolean),
123123
* null values, nested Maps, and Lists. All nested structures are recursively
124-
* converted - no JSONObject or JSONArray types are present in the result.
124+
* converted.
125125
*
126126
* This method is useful for integrations that prefer working with Kotlin collections
127-
* over JSON types (e.g., OpenFeature provider).
127+
* over JSON types.
128128
*
129129
* @param flagKey The unique identifier of the flag to resolve.
130130
* @param defaultValue The map to return if the flag cannot be retrieved or parsed.

0 commit comments

Comments
 (0)