public interface Context
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getFilesDir()
The files dir.
|
NetworkReachabilityManager |
getNetworkReachabilityManager()
Replicators call this to get the NetworkReachabilityManager, and they register/unregister
themselves to receive network reachability callbacks.
|
SQLiteStorageEngineFactory |
getSQLiteStorageEngineFactory()
Get the SQLiteStorageEngineFactory, or null if none has been set, in which case
the default will be used.
|
java.io.File |
getTempDir()
Get temporary directory.
|
java.lang.String |
getUserAgent()
Return User-Agent value
|
void |
setNetworkReachabilityManager(NetworkReachabilityManager networkReachabilityManager)
Override the default behavior and set your own NetworkReachabilityManager subclass,
which allows you to completely control how to respond to network reachability changes
in your app affects the replicators that are listening for change events.
|
java.io.File getFilesDir()
java.io.File getTempDir()
void setNetworkReachabilityManager(NetworkReachabilityManager networkReachabilityManager)
NetworkReachabilityManager getNetworkReachabilityManager()
SQLiteStorageEngineFactory getSQLiteStorageEngineFactory()
java.lang.String getUserAgent()