Language

TypeManager.LookupTypeMapping(String[], String) Method

Definition

Looks up the mapping for a Java type name.

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

Parameters

mappings
String[]

Mapping entries in ordinal order by Java type name. Each entry contains the name, a colon, and the mapped value.

javaType
String

The Java type name to find.

Returns

The text after the first colon in the matching entry, or null if no entry matches.

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