Class MobileDevice

    • Constructor Detail

      • MobileDevice

        public MobileDevice​(org.netxms.base.NXCPMessage msg,
                            NXCSession session)
        Parameters:
        msg -
        session -
    • Method Detail

      • isAllowedOnMap

        public boolean isAllowedOnMap()
        Description copied from class: AbstractObject
        If this method returns true object is allowed to be on custom network map. Default implementation always returns false.
        Overrides:
        isAllowedOnMap in class AbstractObject
        Returns:
        true if object is allowed to be on custom network map
      • isAlarmsVisible

        public boolean isAlarmsVisible()
        Description copied from class: AbstractObject
        If this method returns true object can have visible alarms. Default implementation always returns false.
        Overrides:
        isAlarmsVisible in class AbstractObject
        Returns:
        true if object can contain visible alarms
      • getDeviceId

        public final String getDeviceId()
        Returns:
        the deviceId
      • getVendor

        public final String getVendor()
        Returns:
        the vendor
      • getModel

        public final String getModel()
        Returns:
        the model
      • getSerialNumber

        public final String getSerialNumber()
        Returns:
        the serialNumber
      • getOsName

        public final String getOsName()
        Returns:
        the osName
      • getOsVersion

        public final String getOsVersion()
        Returns:
        the osVersion
      • getUserId

        public final String getUserId()
        Returns:
        the userId
      • getBatteryLevel

        public final int getBatteryLevel()
        Returns:
        the batteryLevel
      • getLastReportTime

        public final Date getLastReportTime()
        Returns:
        the lastReportTime