PackageInfo.ApexPackageName Property
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.
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.