MockPackageManager.CanonicalToCurrentPackageNames(String[]) 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.
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.