TypeManager.RegisterPackages(String[], Converter<String,Type>[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.