Language

TypeManager.RegisterPackages(String[], Converter<String,Type>[]) Method

Definition

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

public static void RegisterPackages(string[] packages, Converter<string,Type>[] lookups);
static member RegisterPackages : string[] * Converter<string, Type>[] -> unit

Parameters

packages
String[]

The Java package names.

lookups
Converter<String,Type>[]

The converters associated with the corresponding package names.

Remarks

In .NET for Android 8 through 10, both arrays must be non-null and have the same number of elements.

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