class PassiveGoal


Defines a passive goal that will be triggered when the specified condition is met which will repeat daily.

Summary

Public constructors

PassiveGoal(
    dataTypeCondition: DataTypeCondition<NumberDeltaDataType<Number, *>>
)

Constructs a new PassiveGoal with the given dataTypeCondition.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

DataTypeCondition<NumberDeltaDataType<Number, *>>

DataTypeCondition which must be met for the passive goal to be triggered.

Public constructors

PassiveGoal

Added in 1.0.0
PassiveGoal(
    dataTypeCondition: DataTypeCondition<NumberDeltaDataType<Number, *>>
)

Constructs a new PassiveGoal with the given dataTypeCondition. This goal will automatically repeat daily.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

dataTypeCondition

Added in 1.0.0
val dataTypeConditionDataTypeCondition<NumberDeltaDataType<Number, *>>

DataTypeCondition which must be met for the passive goal to be triggered.