Share via


PackageInfo.ApexPackageName Property

Definition

If the package is an APEX package (i.

public virtual string? ApexPackageName { [Android.Runtime.Register("getApexPackageName", "()Ljava/lang/String;", "GetGetApexPackageNameHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getApexPackageName", "()Ljava/lang/String;", "GetGetApexPackageNameHandler", ApiSince=35)>]
member this.ApexPackageName : string

Property Value

Attributes

Remarks

If the package is an APEX package (i.e. the value of #isApex is true), returns the package name of the APEX. If the package is one APK-in-APEX app, returns the package name of the parent APEX that contains the app. If the package is not one of the above two cases, returns null.

Java documentation for android.content.pm.PackageInfo.getApexPackageName().

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