共用方式為


IdleConnectionHandler.Add(IHttpConnection, Int64, TimeUnit) 方法

定義

[Android.Runtime.Register("add", "(Lorg/apache/http/HttpConnection;JLjava/util/concurrent/TimeUnit;)V", "GetAdd_Lorg_apache_http_HttpConnection_JLjava_util_concurrent_TimeUnit_Handler")]
public virtual void Add (Org.Apache.Http.IHttpConnection? connection, long validDuration, Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register("add", "(Lorg/apache/http/HttpConnection;JLjava/util/concurrent/TimeUnit;)V", "GetAdd_Lorg_apache_http_HttpConnection_JLjava_util_concurrent_TimeUnit_Handler")>]
abstract member Add : Org.Apache.Http.IHttpConnection * int64 * Java.Util.Concurrent.TimeUnit -> unit
override this.Add : Org.Apache.Http.IHttpConnection * int64 * Java.Util.Concurrent.TimeUnit -> unit

參數

connection
IHttpConnection
validDuration
Int64
unit
TimeUnit
屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於