public class DeviceInfoUtils
extends java.lang.Object
Constructor and Description |
---|
DeviceInfoUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAppName(android.content.Context context)
Retrieves the name of the application.
|
static int |
getAppType()
Retrieves the type of the app.
|
static java.lang.String |
getAppVersion(android.content.Context context)
Retrieves the application version.
|
static java.lang.String |
getDeviceId(android.content.Context context)
Retrieves the device id.
|
static java.lang.String |
getDeviceName()
Retrieves the device model.
|
static java.lang.String |
getIPAddress(android.content.Context context)
Retrieves the IP address.
|
static java.lang.String |
getMACAddress()
Retrieves the MAC address.
|
static java.lang.String |
getOSApiVersion()
Retrieves the OS API version.
|
static int |
getOSType()
Retrieves the OS type.
|
static java.lang.String |
getOSVersion()
Retrieves the OS version.
|
static java.lang.String |
getSensitivitySdkVersion()
Retrieves the SensitivityIO version.
|
public static int getAppType()
public static java.lang.String getAppName(android.content.Context context)
context
- The context.public static java.lang.String getOSVersion()
public static java.lang.String getDeviceName()
public static java.lang.String getOSApiVersion()
public static int getOSType()
public static java.lang.String getAppVersion(android.content.Context context)
context
- The context.public static java.lang.String getSensitivitySdkVersion()
public static java.lang.String getIPAddress(android.content.Context context)
context
- The context.public static java.lang.String getMACAddress()
public static java.lang.String getDeviceId(android.content.Context context)
context
- The context.