PackageManager.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 abstract string[]? CanonicalToCurrentPackageNames (string[] packageNames);
[<Android.Runtime.Register("canonicalToCurrentPackageNames", "([Ljava/lang/String;)[Ljava/lang/String;", "GetCanonicalToCurrentPackageNames_arrayLjava_lang_String_Handler")>]
abstract member CanonicalToCurrentPackageNames : string[] -> string[]
Parameters
- packageNames
- String[]
Array of new names to be mapped.
Returns
Returns an array of the same size as the original, containing the current name for each package.
- Attributes
Remarks
Map from a packages canonical name to the current name in use on the device.
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.