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