public class ProductUserAgentProvider extends Object implements UserAgentProvider
| Constructor and Description |
|---|
ProductUserAgentProvider(com.google.api.ads.common.lib.conf.ProductConfiguration productConfiguration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUserAgent()
Generates the product user agent such as AwApi-Java.
|
@Inject public ProductUserAgentProvider(com.google.api.ads.common.lib.conf.ProductConfiguration productConfiguration)
productConfiguration - the product configuration.public String getUserAgent()
getUserAgent in interface UserAgentProviderCopyright © 2020. All Rights Reserved.