|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vodafone360.people.utils.VersionUtils
public class VersionUtils
| Field Summary | |
|---|---|
private static int |
ANDROID16_VERSION
Mapping version value directly from Android Documentation. |
private static int |
PLATFORM_VERSION_CODE
Static Platform Version Code field. |
| Constructor Summary | |
|---|---|
VersionUtils()
|
|
| Method Summary | |
|---|---|
static int |
getPackageVersionCode(Context context)
Returns the version code from the AndroidManifest.xml file |
static java.lang.String |
getPackageVersionName(Context context)
Returns the version name from the AndroidManifest.xml file. |
static int |
getPlatformVersionCode()
Returns the Platform Version Code. |
static boolean |
is2XPlatform()
Checks if the device platform Version is in the 2.X version range. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int PLATFORM_VERSION_CODE
private static final int ANDROID16_VERSION
| Constructor Detail |
|---|
public VersionUtils()
| Method Detail |
|---|
public static int getPlatformVersionCode()
public static boolean is2XPlatform()
public static java.lang.String getPackageVersionName(Context context)
context - Android context.
public static int getPackageVersionCode(Context context)
context - Android context.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
JavaDoc