Package com.pubmatic.sdk.common.models
Class POBAppInfo
-
- All Implemented Interfaces:
public class POBAppInfoA class representing the Application info, derived internally using the framework APIs
-
-
Field Summary
Fields Modifier and Type Field Description public StringappNamepublic StringpackageNamepublic StringappVersionpublic DrawableappIconpublic longfirstInstallTimeMillis
-
Constructor Summary
Constructors Constructor Description POBAppInfo(Context context)POBAppInfo constructor to generate application info and initialize the params with specific value
-
Method Summary
Modifier and Type Method Description StringgetAppName()StringgetPackageName()StringgetAppVersion()DrawablegetAppIcon()longgetFirstInstallTimeMillis()First install time for this app package, in milliseconds since Unix epoch (Android firstInstallTime). -
-
Constructor Detail
-
POBAppInfo
POBAppInfo(Context context)
POBAppInfo constructor to generate application info and initialize the params with specific value- Parameters:
context- android context
-
-
Method Detail
-
getAppName
@Nullable() String getAppName()
-
getPackageName
@Nullable() String getPackageName()
-
getAppVersion
@Nullable() String getAppVersion()
-
getAppIcon
@Nullable() Drawable getAppIcon()
-
getFirstInstallTimeMillis
long getFirstInstallTimeMillis()
First install time for this app package, in milliseconds since Unix epoch (Android firstInstallTime). Populated once at construction; avoids repeated PackageManager lookups when building ORTB
app.ext.install_time.- Returns:
epoch ms, or
0Lif unavailable
-
-
-
-