Dela via


PackageInstaller.Session.GetNames Method

Definition

Return all APK names contained in this session.

[Android.Runtime.Register("getNames", "()[Ljava/lang/String;", "GetGetNamesHandler")]
public virtual string[] GetNames ();
[<Android.Runtime.Register("getNames", "()[Ljava/lang/String;", "GetGetNamesHandler")>]
abstract member GetNames : unit -> string[]
override this.GetNames : unit -> string[]

Returns

String[]
Attributes

Remarks

Return all APK names contained in this session.

This returns all names which have been previously written through #openWrite(String, long, long) as part of this session.

Java documentation for android.content.pm.PackageInstaller.Session.getNames().

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