Språk

IHttpConnectionMetrics.GetMetric(String) Method

Definition

Return the value for the specified metric.

[Android.Runtime.Register("getMetric", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetMetric_Ljava_lang_String_Handler:Org.Apache.Http.IHttpConnectionMetricsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetMetric(string? metricName);
[<Android.Runtime.Register("getMetric", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetMetric_Ljava_lang_String_Handler:Org.Apache.Http.IHttpConnectionMetricsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetMetric : string -> Java.Lang.Object

Parameters

metricName
String

the name of the metric to query.

Returns

The value associated with metricName, or null if that metric is not found.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to