public class ReportingRate
extends android.content.BroadcastReceiver
implements android.content.SharedPreferences.OnSharedPreferenceChangeListener
Modifier and Type | Class and Description |
---|---|
static interface |
ReportingRate.Callback |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REPORT_LOCATION |
Constructor and Description |
---|
ReportingRate(ReportingRate.Callback callback,
android.content.SharedPreferences prefs) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
init() |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
onSharedPreferenceChanged(android.content.SharedPreferences cotPrefs,
java.lang.String key) |
void |
setReportAsap(java.lang.String reason) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public static final java.lang.String REPORT_LOCATION
public ReportingRate(ReportingRate.Callback callback, android.content.SharedPreferences prefs)
public void init()
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void onSharedPreferenceChanged(android.content.SharedPreferences cotPrefs, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener
public void dispose()
public void setReportAsap(java.lang.String reason)