|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface SharedPreferenceChangeObserver
Interface for shared preference change observers.
| Method Summary | |
|---|---|
void |
onBetaPreferenceChange(double beta)
The handler for beta value preference changes. |
void |
onBWCutOffPreferenceChanged(double cutOff)
The handler for Butterworth filter cut-off frequency preference changes. |
void |
onBWFilterOrderPreferenceChanged(int order)
The handler for Butterworth filter order changes. |
void |
onClassSelectionChange(Long[] selectedClasses)
The handler for changes of the class selection. |
void |
onCountDownTimeChange(long countDownTime)
The handler for count-down time parameter changes. |
void |
onCrossValidationParameterKChange(int parameterK)
The handler for changes of the parameter k for cross validation. |
void |
onDefaultRecordingTimeChange(long defaultRecordingTime)
The handler for default recording time parameter changes. |
void |
onEvaluationAccuracyThresholdChanged(int threshold)
The handler for changes of the parameter k for cross validation. |
void |
onFeatureSelection(FeatureTypes featureType,
boolean isSelected)
The handler for feature selection state changes. |
void |
onGravitationCutOffPreferenceChanged(double cutOff)
The handler for gravitation filter cut-off frequency preference changes. |
void |
onKNNClassifierParameterKChange(int parameterK)
The handler for changes of the parameter k for the nearest neighbor classifier (knn). |
void |
onKNNClassifierParameterNormalizeChange(boolean normalize)
The handler for changes of the parameter normalize for the nearest neighbor classifier (knn). |
void |
onLimitViolation(String message,
String key)
Does notify for a limit violation by a user preference change. |
void |
onLocationDataUsageFlagChange(boolean locationDataUsageFlag)
The handler for changes of location data usage flag |
void |
onMaximumRecordingTimeChange(int maximumRecordingTime)
The handler for maximum recording time parameter changes. |
void |
onMaximumSampleRateChange(long maxSampleRate)
The handler for maximum sample rate changes. |
void |
onMinCutOffPreferenceChanged(double minCutOff)
The handler for minimum cut-off frequency preference changes. |
void |
onOverlapSizeChange(int overlapSize)
The handler for cutOut overlap size parameter changes. |
void |
onOwnLinAccImplementationUsageFlagChange(boolean useInternalLinAccImpl)
The handler for changes of the internal linear acceleration implementation usage flag. |
void |
onSampleRateChange(long sampleRate)
The handler for sample rate changes. |
void |
onSelectedAccFilterChanged(FilterTypes filterType)
The handler for filter type changes. |
void |
onSelectedClassifierChange(ClassifierTypes classifierType)
The handler for changes of the selected classifier. |
void |
onWindowSizeChange(long windowSize)
The handler for cutOut size parameter changes. |
| Method Detail |
|---|
void onSelectedAccFilterChanged(FilterTypes filterType)
filterType - the filterTypevoid onGravitationCutOffPreferenceChanged(double cutOff)
cutOff - the new cut-off frequency valuevoid onBWCutOffPreferenceChanged(double cutOff)
cutOff - the new cut-off frequency valuevoid onBWFilterOrderPreferenceChanged(int order)
order - the new filter ordervoid onMinCutOffPreferenceChanged(double minCutOff)
minCutOff - the new minimum cut-off frequency valuevoid onBetaPreferenceChange(double beta)
beta - the new beta value
void onFeatureSelection(FeatureTypes featureType,
boolean isSelected)
featureType - the feature type identifierisSelected - the selection statevoid onOverlapSizeChange(int overlapSize)
overlapSize - the new overlap sizevoid onWindowSizeChange(long windowSize)
windowSize - the new cutOut sizevoid onCountDownTimeChange(long countDownTime)
countDownTime - the new count-down time sizevoid onDefaultRecordingTimeChange(long defaultRecordingTime)
defaultRecordingTime - the new default recording time in secondsvoid onMaximumRecordingTimeChange(int maximumRecordingTime)
maximumRecordingTime - the new default maximum time in secondsvoid onSampleRateChange(long sampleRate)
sampleRate - the new sample rate as the milliseconds between two samplesvoid onMaximumSampleRateChange(long maxSampleRate)
maxSampleRate - the new maximum sample rate as the milliseconds between two
samplesvoid onCrossValidationParameterKChange(int parameterK)
parameterK - the new parameter k for cross validationvoid onEvaluationAccuracyThresholdChanged(int threshold)
threshold - the accuracy threshold for evaluationvoid onKNNClassifierParameterNormalizeChange(boolean normalize)
normalize - the new normalize flag valuevoid onKNNClassifierParameterKChange(int parameterK)
parameterK - the new parameter valuevoid onSelectedClassifierChange(ClassifierTypes classifierType)
classifierType - the type of the new selected classifiervoid onClassSelectionChange(Long[] selectedClasses)
selectedClasses - the actual class selectionvoid onLocationDataUsageFlagChange(boolean locationDataUsageFlag)
locationDataUsageFlag - the new location data usage flag
void onLimitViolation(String message,
String key)
message - the violation messagekey - the shared preference key, which value have been reset due to
limit violationvoid onOwnLinAccImplementationUsageFlagChange(boolean useInternalLinAccImpl)
useInternalLinAccImpl - the internal linear acceleration implementation usage flag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||