Compartir a través de


MockPackageManager.CurrentToCanonicalPackageNames(String[]) Method

Definition

Map from the current package names in use on the device to whatever the current canonical name of that package is.

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

Parameters

names
String[]

Array of current 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