public class ClientRuntime extends Object
This class provides client info that will be sent to the servers as part of each request.
Modifier and Type | Field and Description |
---|---|
static String |
SDK_VERSION_PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
static String |
extractSdkVersionFromProperties(Properties sdkProperties) |
ClientCompatibilityChecker |
getClientCompatibilityChecker() |
String |
getClientInfo() |
static ClientRuntime |
getRuntime()
Get the ClientRuntime instance.
|
String |
getSdkVersion() |
String |
getUserAgent() |
static void |
setClientUserAgent(String clientUserAgent) |
public static final String SDK_VERSION_PROPERTY_NAME
public static void setClientUserAgent(String clientUserAgent)
public static String extractSdkVersionFromProperties(Properties sdkProperties)
public static ClientRuntime getRuntime()
Get the ClientRuntime instance.
public String getUserAgent()
public String getClientInfo()
public String getSdkVersion()
public ClientCompatibilityChecker getClientCompatibilityChecker()
Copyright © 2016–2024. All rights reserved.