IdleConnectionHandler.Add(IHttpConnection, Int64, TimeUnit) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[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 属性许可证中所述的术语使用。