Share via


IContentHandlerFactory.CreateContentHandler(String) Method

Definition

Creates a new ContentHandler to read an object from a URLStreamHandler.

[Android.Runtime.Register("createContentHandler", "(Ljava/lang/String;)Ljava/net/ContentHandler;", "GetCreateContentHandler_Ljava_lang_String_Handler:Java.Net.IContentHandlerFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Net.ContentHandler? CreateContentHandler (string? mimetype);
[<Android.Runtime.Register("createContentHandler", "(Ljava/lang/String;)Ljava/net/ContentHandler;", "GetCreateContentHandler_Ljava_lang_String_Handler:Java.Net.IContentHandlerFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CreateContentHandler : string -> Java.Net.ContentHandler

Parameters

mimetype
String

the MIME type for which a content handler is desired.

Returns

a new ContentHandler to read an object from a URLStreamHandler.

Attributes

Remarks

Creates a new ContentHandler to read an object from a URLStreamHandler.

Java documentation for java.net.ContentHandlerFactory.createContentHandler(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to