public class DeviceDataCollector extends DataCollector
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LOCAL_STORAGE_DEVICE_ID_KEY |
protected static String |
LOCAL_STORAGE_PATH |
| Constructor and Description |
|---|
DeviceDataCollector() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
collect(android.content.Context context)
Actual logic to collect a category of data from device.
|
protected String |
getCognitoDeviceAgent(android.content.Context context) |
protected String |
getLanguage() |
protected String |
getThirdPartyDeviceAgent() |
protected TimeZone |
getTimezone()
Method is protected to allow it to be over-riden for unit testing
|
protected static final String LOCAL_STORAGE_PATH
protected static final String LOCAL_STORAGE_DEVICE_ID_KEY
public Map<String,String> collect(android.content.Context context)
collect in class DataCollectorcontext - android application context.protected String getCognitoDeviceAgent(android.content.Context context)
protected String getThirdPartyDeviceAgent()
protected String getLanguage()
protected TimeZone getTimezone()
Copyright © 2018. All rights reserved.