Language

TypeManager.LookupTypeMapping(String[], String) Method

Definition

Searches a sorted type mapping table and returns the mapped name.

public static string? LookupTypeMapping(string[] mappings, string javaType);
static member LookupTypeMapping : string[] * string -> string

Parameters

mappings
String[]

The sorted Java-name-to-managed-name mapping strings in javaName:managedName form.

javaType
String

The Java type name to find using the mapping-name comparer.

Returns

The text after the mapping separator, or null when no matching entry is found.

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