v1.1b2
Pre-release
Pre-release
TripKit's 'Configs' exposed a factory to initialize Co2Preferences
that helps specify CO2 of some transports. Co2Preferences
has a default implementation namely DefaultCo2Preferences
that stores and queries CO2 preferences via SharedPreferences
. However, if you aren't satisfied with it, you can spawn a new implementation. For usage of DefaultCo2Preferences
, please refer to this DefaultCo2PreferencesTest
.