public final class RequiredApp
extends java.lang.Object
| Constructor and Description |
|---|
RequiredApp(java.lang.String appName,
java.lang.String packageName,
int appIconResourceId)
Instantiates a new required app.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAppIconResourceId()
Gets the app icon resource id.
|
java.lang.String |
getAppName()
Gets the app name.
|
java.lang.String |
getPakcageName()
Gets the pakcage name.
|
static boolean |
isAppInstalled(android.content.Context context,
java.lang.String packageName)
Checks if is app installed.
|
public RequiredApp(java.lang.String appName,
java.lang.String packageName,
int appIconResourceId)
appName - the app namepackageName - the package nameappIconResourceId - the app icon resource idpublic java.lang.String getAppName()
public java.lang.String getPakcageName()
public int getAppIconResourceId()
public static boolean isAppInstalled(android.content.Context context,
java.lang.String packageName)
context - the contextpackageName - the package name