|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectio.keen.client.java.KeenClient.Builder
io.keen.client.android.AndroidKeenClientBuilder
public class AndroidKeenClientBuilder
KeenClient.Builder with defaults suited for use on the Android
platform.
KeenJsonHandler via
the KeenClient.Builder.withJsonHandler(KeenJsonHandler) method.
To cache events in between batch uploads, this client uses a file-based event store with its
root in the application's cache directory. It is important to use a file-based (or
otherwise persistent, i.e. non-RAM) event store because the application process could be
destroyed without notice.
Other defaults are those provided by the parent KeenClient.Builder
implementation.
| Constructor Summary | |
|---|---|
AndroidKeenClientBuilder(android.content.Context context)
|
|
| Method Summary | |
|---|---|
protected io.keen.client.java.KeenEventStore |
getDefaultEventStore()
|
protected io.keen.client.java.KeenJsonHandler |
getDefaultJsonHandler()
|
protected io.keen.client.java.KeenNetworkStatusHandler |
getDefaultNetworkStatusHandler()
|
| Methods inherited from class io.keen.client.java.KeenClient.Builder |
|---|
build, buildInstance, getDefaultHttpHandler, getDefaultPublishExecutor, getEventStore, getHttpHandler, getJsonHandler, getNetworkStatusHandler, getPublishExecutor, setEventStore, setHttpHandler, setJsonHandler, setNetworkStatusHandler, setPublishExecutor, withEventStore, withHttpHandler, withJsonHandler, withNetworkStatusHandler, withPublishExecutor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AndroidKeenClientBuilder(android.content.Context context)
| Method Detail |
|---|
protected io.keen.client.java.KeenJsonHandler getDefaultJsonHandler()
getDefaultJsonHandler in class io.keen.client.java.KeenClient.Builder
protected io.keen.client.java.KeenEventStore getDefaultEventStore()
throws Exception
getDefaultEventStore in class io.keen.client.java.KeenClient.BuilderExceptionprotected io.keen.client.java.KeenNetworkStatusHandler getDefaultNetworkStatusHandler()
getDefaultNetworkStatusHandler in class io.keen.client.java.KeenClient.Builder
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||