-
@Singleton() public class SystemParameterRegistrySimple class to centralize all system parameters (native data)
-
-
Field Summary
Fields Modifier and Type Field Description private final List<SystemParameter>parameters
-
Method Summary
Modifier and Type Method Description List<SystemParameter>getParameters()Get all system parameters static SystemParameterRegistryprovide(@NonNull() Context context)List<WatchedSystemParameter>getWatchedParameters()Get all watched parametersWatched parameter mean value is persisted from shared preferences and detect changes. SystemParametergetSystemParamByShortname(String shortname)Get a specific system parameter object by its value -
-
Method Detail
-
getParameters
List<SystemParameter> getParameters()
Get all system parameters
-
provide
static SystemParameterRegistry provide(@NonNull() Context context)
-
getWatchedParameters
List<WatchedSystemParameter> getWatchedParameters()
Get all watched parameters
Watched parameter mean value is persisted from shared preferences and detect changes.
-
getSystemParamByShortname
@Nullable() SystemParameter getSystemParamByShortname(String shortname)
Get a specific system parameter object by its value
- Parameters:
shortname- the short name parameter (eg: "di" for install_id)
-
-
-
-