SdkDiagnosticParams
public SdkDiagnosticParams(java.lang.String sdkKeyOrMobileKey,
java.lang.String sdkName,
java.lang.String sdkVersion,
java.lang.String platformName,
com.launchdarkly.sdk.LDValue extraPlatformData,
java.util.Map<java.lang.String,java.lang.String> defaultHttpHeaders,
java.util.List<com.launchdarkly.sdk.LDValue> configProperties)
Creates an instance.
- Parameters:
sdkKeyOrMobileKey
- the SDK key or mobile key
sdkName
- the SDK name as represented in diagnostic events
sdkVersion
- the version string
platformName
- the platform name as represented in diagnostic events
extraPlatformData
- optional JSON object for platform properties
defaultHttpHeaders
- from the HTTP configuration (we get the wrapper name from this)
configProperties
- optional JSON object for any additional config properties