public class AnalyticsConfig extends Object
Constructor and Description |
---|
AnalyticsConfig()
Create an
AnalyticsConfig object set to defaults. |
AnalyticsConfig(ClientConfiguration clientConfiguration)
Creates an
AnalyticsConfig object with the specified client configuration configuration |
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowEventCollection()
Indicates whether or not event collection is enabled for the SDK.
|
boolean |
getAllowWANDelivery()
Indicates whether or not events will be sent to the Amazon Mobile Analytics website over WAN (mobile) networks.
|
ClientConfiguration |
getClientConfiguration()
Gets the client configuration this client will use when making requests.
|
AnalyticsConfig |
withAllowsEventCollection(boolean allowEventCollection)
Sets whether or not event collection is enabled for the SDK.
|
AnalyticsConfig |
withAllowsWANDelivery(boolean allowWANDelivery)
Sets whether or not events will be sent to the Amazon Mobile Analytics website over WAN (mobile) networks.
|
AnalyticsConfig |
withClientConfiguration(ClientConfiguration clientConfig)
Sets the client configuration this client will use when making request
|
public AnalyticsConfig()
AnalyticsConfig
object set to defaults. Which allows event collection and has WAN delivery set to truepublic AnalyticsConfig(ClientConfiguration clientConfiguration)
AnalyticsConfig
object with the specified client configuration configurationclientConfiguration
- public AnalyticsConfig withClientConfiguration(ClientConfiguration clientConfig)
public ClientConfiguration getClientConfiguration()
public AnalyticsConfig withAllowsEventCollection(boolean allowEventCollection)
allowEventCollection
- public boolean getAllowEventCollection()
public AnalyticsConfig withAllowsWANDelivery(boolean allowWANDelivery)
allowWANDelivery
- public boolean getAllowWANDelivery()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.