Sports Lib API - v21.3.0
GitHub
npm
Preparing search index...
API
DataMetabolicCalories
Class DataMetabolicCalories
Canonical FIT session field 196, in kilocalories.
Hierarchy (
View Summary
)
DataNumber
DataMetabolicCalories
Index
Constructors
constructor
Properties
value
display
Type?
type
unit
unit
System
Methods
get
Display
Type
get
Display
Unit
get
Display
Value
get
Type
get
Unit
get
Unit
System
get
Value
is
Value
Type
Valid
set
Value
to
JSON
Constructors
constructor
new
DataMetabolicCalories
(
value
:
number
)
:
DataMetabolicCalories
Parameters
value
:
number
Returns
DataMetabolicCalories
Properties
Protected
value
value
:
number
Static
Optional
display
Type
displayType
?:
string
Static
type
type
:
string
= 'Metabolic Calories'
Static
unit
unit
:
string
= 'kcal'
Static
unit
System
unitSystem
:
UnitSystem
= UnitSystem.Metric
Methods
get
Display
Type
getDisplayType
()
:
string
Returns
string
get
Display
Unit
getDisplayUnit
()
:
string
Returns
string
get
Display
Value
getDisplayValue
()
:
string
|
number
|
string
[]
Returns
string
|
number
|
string
[]
get
Type
getType
()
:
string
Returns
string
get
Unit
getUnit
()
:
string
Returns
string
get
Unit
System
getUnitSystem
()
:
UnitSystem
Returns
UnitSystem
get
Value
getValue
(
_formatForDataType
?:
string
)
:
number
Parameters
Optional
_formatForDataType
:
string
Returns
number
is
Value
Type
Valid
isValueTypeValid
(
value
:
any
)
:
boolean
Parameters
value
:
any
Returns
boolean
set
Value
setValue
(
value
:
number
)
:
this
Parameters
value
:
number
Returns
this
to
JSON
toJSON
()
:
DataJSONInterface
Returns
DataJSONInterface
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
value
display
Type
type
unit
unit
System
Methods
get
Display
Type
get
Display
Unit
get
Display
Value
get
Type
get
Unit
get
Unit
System
get
Value
is
Value
Type
Valid
set
Value
to
JSON
GitHub
npm
Sports Lib API - v21.3.0
Loading...
Canonical FIT session field 196, in kilocalories.