Firebase Kotlin SDK
Toggle table of contents
3.0.0-beta1
android
apple
common
js
jvm
wasmJs
Platform filter
android
apple
common
js
jvm
wasmJs
Switch theme
Search in API
Firebase Kotlin SDK
firebase-perf
/
com.google.firebase.perf.metrics
/
Trace
/
getLongMetric
get
Long
Metric
android
apple
common
js
jvm
wasmJs
actual
fun
getLongMetric
(
metricName
:
String
)
:
Long
(
source
)
actual
fun
getLongMetric
(
metricName
:
String
)
:
Long
(
source
)
expect
fun
getLongMetric
(
metricName
:
String
)
:
Long
(
source
)
The value of the metric
metricName
, or 0 if it has not been set; the metric is not created.
actual
fun
getLongMetric
(
metricName
:
String
)
:
Long
(
source
)
@
Synchronized
actual
fun
getLongMetric
(
metricName
:
String
)
:
Long
(
source
)
actual
fun
getLongMetric
(
metricName
:
String
)
:
Long
(
source
)