public final class UserAgentUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_USER_AGENT_HEADER |
| Modifier and Type | Method and Description |
|---|---|
static String |
toUserAgentString(String applicationId,
String sdkName,
String sdkVersion,
Configuration configuration)
Return user agent string for the given sdk name and version.
|
public static final String DEFAULT_USER_AGENT_HEADER
public static String toUserAgentString(String applicationId, String sdkName, String sdkVersion, Configuration configuration)
applicationId - Name of the application.sdkName - Name of the SDK.sdkVersion - Version of the SDK.configuration - The configuration to use to determine if platform info should be included in the user agent
string.Copyright © 2021 Microsoft Corporation. All rights reserved.