Java.Net.URLConnection.SetContentHandlerFactory Method
Sets the internally used content handler factory.

Syntax

[Android.Runtime.Register("setContentHandlerFactory", "(Ljava/net/ContentHandlerFactory;)V", "")]
public static void SetContentHandlerFactory (IContentHandlerFactory contentFactory)

Parameters

contentFactory
the content factory to be set.

Exceptions

TypeReason
Java.Lang.Errorif the factory has been already set.

Remarks

Sets the internally used content handler factory. The content factory can only be set once during the lifetime of the application.

[Android Documentation]

Requirements

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