Java.Net.URLConnection.ReadTimeout Property
Returns the read timeout in milliseconds, or 0 if reads never timeout.

Syntax

[get: Android.Runtime.Register("getReadTimeout", "()I", "GetGetReadTimeoutHandler")]
[set: Android.Runtime.Register("setReadTimeout", "(I)V", "GetSetReadTimeout_IHandler")]
public virtual int ReadTimeout { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns the read timeout in milliseconds, or 0 if reads never timeout.

Set method documentation [Android Documentation]

Sets the maximum time to wait for an input stream read to complete before giving up. Reading will fail with a Java.Net.SocketTimeoutException if the timeout elapses before data becomes available. The default value of 0 disables read timeouts; read attempts will block indefinitely.

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1