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 属性许可证中所述的术语使用。

适用于