API reference

InstalledApplication Class

InstalledApplication provides a way to retrieve information about installed application on a device, including their package name, application ID, version name, version code, and status. This information can be useful for tracking the status of applications on a device and identifying any issues that may need to be addressed.

Constructors

InstalledApplication ( ptr )
Signature
com.meta.horizon.platform.ovr.models.InstalledApplication.InstalledApplication(final long ptr)
Parameters
ptr: final long

Methods

getApplicationId ()
It's a type of string represents the ID of the application, which is a unique identifier for the app.
Signature
String com.meta.horizon.platform.ovr.models.InstalledApplication.getApplicationId()
Returns
String  String
getPackageName ()
The package name of the installed application.
Signature
String com.meta.horizon.platform.ovr.models.InstalledApplication.getPackageName()
Returns
String  String
getStatus ()
A string represents the status of the installed application.
Signature
String com.meta.horizon.platform.ovr.models.InstalledApplication.getStatus()
Returns
String  String
getVersionCode ()
It's a type of int represents the current version code of the installed application. It can be retreiving using com.meta.horizon.platform.ovr.models.ApplicationVersion#getCurrentCode()
Signature
int com.meta.horizon.platform.ovr.models.InstalledApplication.getVersionCode()
Returns
int  int
getVersionName ()
It's a type of string represents the current version name of the installed application. It can be retreiving using com.meta.horizon.platform.ovr.models.ApplicationVersion#getCurrentName()
Signature
String com.meta.horizon.platform.ovr.models.InstalledApplication.getVersionName()
Returns
String  String