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.

Return

Completable that completes when goal are added

Parameters

goal

new goal