Class DeviceInfo



  • public class DeviceInfo
    extends java.lang.Object
    Provides meta information about the device
    • Constructor Summary

      Constructors 
      Constructor and Description
      DeviceInfo(Context context) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Map<java.lang.String,java.lang.String> getDeviceInfoAsMapForMetaData() 
      boolean isLowMemory()
      Determines whether the device is currently experiencing a low memory warning.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeviceInfo

        public DeviceInfo(Context context)
    • Method Detail

      • getDeviceInfoAsMapForMetaData

        public java.util.Map<java.lang.String,java.lang.String> getDeviceInfoAsMapForMetaData()
      • isLowMemory

        public boolean isLowMemory()
        Determines whether the device is currently experiencing a low memory warning.
        Returns:
        true if this device is experiencing a low memory warning at this instant, false otherwise.