Share via


MockPackageManager.CanonicalToCurrentPackageNames(String[]) Method

Definition

Map from a packages canonical name to the current name in use on the device.

[Android.Runtime.Register("canonicalToCurrentPackageNames", "([Ljava/lang/String;)[Ljava/lang/String;", "GetCanonicalToCurrentPackageNames_arrayLjava_lang_String_Handler")]
public override string[]? CanonicalToCurrentPackageNames (string[]? names);
[<Android.Runtime.Register("canonicalToCurrentPackageNames", "([Ljava/lang/String;)[Ljava/lang/String;", "GetCanonicalToCurrentPackageNames_arrayLjava_lang_String_Handler")>]
override this.CanonicalToCurrentPackageNames : string[] -> string[]

Parameters

names
String[]

Array of new names to be mapped.

Returns

String[]
Attributes

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