ExerciseStateInfo


class ExerciseStateInfo


Wrapper class for accessing ExerciseState and ExerciseEndReason.

Summary

Public constructors

ExerciseStateInfo(exerciseState: ExerciseState, exerciseEndReason: Int)

Public functions

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

Public constructors

ExerciseStateInfo

Added in 1.0.0
ExerciseStateInfo(exerciseState: ExerciseState, exerciseEndReason: Int)

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

endReason

Added in 1.0.0
val endReasonInt

The ExerciseEndReason if state is ExerciseState.ENDED, otherwise ExerciseEndReason.UNKNOWN.

state

Added in 1.0.0
val stateExerciseState

The ExerciseState. If set to ExerciseState.ENDED, the endReason property will contain why it was ended.