public class Options extends Object
| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnonymousId() |
Context |
getContext() |
Props |
getIntegrations() |
org.joda.time.DateTime |
getTimestamp() |
Options |
setAnonymousId(String anonymousId)
Sets the cookie / anonymous Id of this visitor.
|
Options |
setContext(Context context)
Sets the context of this analytics call.
|
Options |
setIntegration(String integration,
boolean enabled)
Sets whether this call will be sent to the target integration.
|
Options |
setTimestamp(org.joda.time.DateTime timestamp)
Sets the timestamp of when an analytics call occurred.
|
public Options setAnonymousId(String anonymousId)
anonymousId - public Options setIntegration(String integration, boolean enabled)
integration - The integration nameenabled - True for enabledpublic Options setContext(Context context)
context - The context objectpublic Options setTimestamp(org.joda.time.DateTime timestamp)
timestamp - The time when this event happenedpublic Context getContext()
public String getAnonymousId()
public Props getIntegrations()
public org.joda.time.DateTime getTimestamp()
Copyright © 2015. All Rights Reserved.