public class Device extends Object
| Constructor and Description |
|---|
Device() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getDeviceId(android.content.Context context)
Gets the unique device ID.
|
static String |
getDeviceModelAndManufacturer()
Gets the model and manufacturer (if possible) of the device.
|
static String |
getUserAgent()
Gets the custom user agent string.
|
public static String getDeviceId(android.content.Context context)
context - Application contextpublic static String getDeviceModelAndManufacturer()
public static String getUserAgent()
Copyright © 2016 Red Hat. All rights reserved.