MockPackageManager.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 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
- 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.