public class WZPlatformInfo extends Object
WZPlatformInfo
class provides access to device and platform information.Modifier and Type | Field and Description |
---|---|
static String |
androidRelease
The Android version string
|
static int |
androidSDK
The Android SDK version
|
static String |
brand
The device brand name
|
static String |
device
The device name
|
static String |
manufacturer
The device manufacturer
|
static String |
model
The device model name
|
Constructor and Description |
---|
WZPlatformInfo() |
Modifier and Type | Method and Description |
---|---|
static String |
displayInfo(Context context)
Returns a human-readable of the display metrics information
|
static WZDataMap |
displayInfoDataMap(Context context)
Returns a
WZDataMap of the display metrics information |
static String |
getEglInfo()
Deprecated.
Use
WZGLES.getEglInfo(boolean) instead |
static String |
getEncoderInfo()
Deprecated.
Use
WZCodecUtils.getCodecInfo() instead |
static WZPlatformInfo |
getInstance() |
WZDataMap |
toDataMap() |
String |
toString() |
public static final String manufacturer
public static final String brand
public static final String model
public static final String device
public static final int androidSDK
public static final String androidRelease
public static WZPlatformInfo getInstance()
public WZDataMap toDataMap()
public static String displayInfo(Context context)
context
- The app contextpublic static WZDataMap displayInfoDataMap(Context context)
WZDataMap
of the display metrics informationcontext
- The app contextWZDataMap
of the display metrics informationpublic static String getEglInfo()
WZGLES.getEglInfo(boolean)
insteadpublic static String getEncoderInfo()
WZCodecUtils.getCodecInfo()
instead© 2016 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal