This site requires javascript.
Android Code Search
file:androidx/health/connect/client/units/Mass.kt symbol:pounds
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
health/connect/connect-client/src/main/java/androidx/health/connect/client/units/
Mass.kt
content_copy
Preview
60:
61:
62:
@
get
:JvmName(
"getPounds"
)
val
in
Pounds
: Double
get
() = get(type = Type.POUNDS)
110:
111:
112:
/** Creates [Mass] with the specified value in pounds. */
@JvmStatic
fun
pounds
(value: Double): Mass = Mass(value, Type.POUNDS)
}
129:
130:
131:
},
POUNDS
{
override
val
gramsPerUnit: Double =
453.59237
239:
240:
241:
@
get
:JvmSynthetic
val
Double.
pounds
: Mass
get
() = Mass.pounds(value = this)
244:
245:
246:
@
get
:JvmSynthetic
val
Float.
pounds
: Mass
get
() = toDouble().pounds
249:
250:
251:
@
get
:JvmSynthetic
val
Long.
pounds
: Mass
get
() = toDouble().pounds
254:
255:
256:
@
get
:JvmSynthetic
val
Int.
pounds
: Mass
get
() = toDouble().pounds
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main