Language

TypeManager.RegisterPackage(String, Converter<String,Type>) Method

Definition

In .NET for Android 8 through 10, stores a converter for a Java package. In .NET for Android 11, throws NotSupportedException because package-based type registration is no longer supported.

public static void RegisterPackage(string package, Converter<string,Type> lookup);
static member RegisterPackage : string * Converter<string, Type> -> unit

Parameters

package
String

The Java package name.

lookup
Converter<String,Type>

The converter associated with the package.

Remarks

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