FcRopeSkippingData
& FcRowingMachineData
in FcSportData
heartRateItems
in FcSportData
Replace with heartRate
in FcSportItem
implementation("com.topstep.wearkit:sdk-fitcloud:$latest_version") {
exclude group: "com.topstep.wearkit", module: "ext-realtek-bbpro"
exclude group: "com.topstep.wearkit", module: "ext-realtek-file"
}
FcMusicAbility
,FcEBookAbility
,FcAlbumAbility
FcSleepItem.STATUS_REM
. SleepCalculateHelper.calculate
also contains REM info in returned SleepSummary
.FcSettingsFeature Add:
/**
* Set Lyric Color
*
* rgb is RGB.888
*/
fun setLyricColor(r: Int, g: Int, b: Int): Completable
/**
* Request Lyric Color
*
* list is RGB.888 & size = 3
*/
fun requestLyricColor(): Single<List<Int>>
fun setChargingLight(isChargingLight: Boolean): Completable
fun requestChargingLight(): Single<Boolean>
FcNotificationConfig.Flag.TIRA
and FcAppType.TIRA
FcNotificationConfig.Flag
add more new flagsFcNotificationConfig.Flag
add TITAN
,GPAY
and AMAZON
FcSportData
add swimData
, and displayConfigs
also add config of DISPLAY_SWIM_STROKE_RATE
and DISPLAY_SWIM_EFFICIENCY
silentMode
, by default use SilentMode.DEFAULT
FcBatteryAbility.isSupportObserve
FcDialSpace.dialNum
may be -1, indicating that there is currently no dial in this spaceFcNotificationAbility
add new method to send app and telephony notificationFcRemindAbility
, which replaces the FcSedentaryConfig
and FcDrinkWaterConfig
functions. Old watches can still use the old API, but if FcDeviceInfo.isSupport(FcDeviceInfo.Feature.ADVANCED_REMIND)
is true, then FcRemindAbility
must be usedFcDeviceInfo.isSupport(FcDeviceInfo.Feature.SLEEP_NAP)
is true, and use SleepCalculateHelper.calculate
to get SleepSummary
info.FcBatteryAbility
,FcContactsAbility
,FcNotificationAbility
,FcFunctionAbility
FcDeviceInfo.Feature.CONTACTS_100
, use fcSDK.contactsAbility.getContactsMaxNumber()
to determine the number of contacts supported by the devicesetting.gradle
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
...
maven {
url = uri("http://120.78.153.20:8081/repository/maven-public/")
allowInsecureProtocol = true
}
}
Add dependencies in your app build.gradle
def weakit_version = "3.0.1-beta01"
implementation("com.topstep.wearkit:sdk-base:$weakit_version")
implementation("com.topstep.wearkit:sdk-fitcloud:$weakit_version")
FcSDK.Builder
params changed.FlagUtil
package name changed.BondHelper
package name changed.FileDownloader
package name changed.FileDownloadException
package name changed.ProgressResult
package name changed.BytesUtil
package name changed.Optional
package name changed.com.topstep.fitcloud.sdk.v2.R
to com.topstep.fitcloud.sdk.R
FcPriority
of syncItem
or syncData
distanceMeters
of FcSportData
,Avoiding errors caused by float accuracyFcBuiltInFeatures.autoSetTime
settings. You can use the automatic time setting features, or use FcSettingsFeature.setTime
manual. By default autoSetTime is enabled.FcConfigFeature.refresh
to refresh configs manual.FcHabit
FcSettingsFeature.requestSupportScheduleTypes
to request types support in FcSchedule
FcConnector.mediaControlExitSilentMode
, When you use [FcBuiltInFeatures.mediaControl], but not use [FcBuiltInFeatures.telephonyControl] or not extent [AbsPhoneStateListener],use this method to set built-in media controller to exit silent mode when you telephony enter idle state.FcDataFeature.requestLatestHealthData
move to FcSettingsFeature.requestLatestHealthData
FcFunctionConfig.STRENGTHEN_TEST
rename to FcFunctionConfig.ENHANCED_MEASUREMENT
FcFunctionConfig.HOUR_STYLE
rename to FcFunctionConfig.TIME_FORMAT
FcFunctionConfig.WEATHER_SWITCH
rename to FcFunctionConfig.WEATHER_DISPLAY
FcFunctionConfig.EXERCISE_TARGET
rename to FcFunctionConfig.EXERCISE_GOAL_DISPLAY
FcBloodPressureConfig.isPrivateMode
rename to FcBloodPressureConfig.isEnabled
FcSpecialFeature.requestLanguage
move to FcSettingsFeature.requestLanguage
FcSpecialFeature.requestExerciseGoal
move to FcSettingsFeature.requestExerciseGoal
First version