healbesdk / com.healbe.healbesdk.business_api.healthdata / HealthData / addWeightGoal

addWeightGoal

abstract fun addWeightGoal(goal: HDWeightGoal): Completable

Add new weight goal.

Previous goal will be cancelled.

If there is the same goal in Health Data than IllegalArgumentException will be emitted.

Parameters

goal - new goal

Return
Completable that completes when goal are added