Class AndroidDeviceService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getModel()
      Returns the name of the device's model or product.
      java.lang.String getPlatform()
      Returns the platform string that the operating system uses to identify itself.
      java.lang.String getUuid()
      Returns the device's universally unique identifier.
      java.lang.String getVersion()
      Returns the version number of the device platform.
      boolean isWearable()
      Returns true if the device is a wearable
      • Methods inherited from class java.lang.Object

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

      • AndroidDeviceService

        public AndroidDeviceService()
    • Method Detail

      • getModel

        public java.lang.String getModel()
        Description copied from interface: DeviceService
        Returns the name of the device's model or product. The value is set by the device manufacturer and may be different across versions of the same product.
        Specified by:
        getModel in interface DeviceService
        Returns:
        The device model.
      • getUuid

        public java.lang.String getUuid()
        Description copied from interface: DeviceService
        Returns the device's universally unique identifier.
        Specified by:
        getUuid in interface DeviceService
        Returns:
        The device UUID.
      • getPlatform

        public java.lang.String getPlatform()
        Description copied from interface: DeviceService
        Returns the platform string that the operating system uses to identify itself.
        Specified by:
        getPlatform in interface DeviceService
        Returns:
        The device platform.
      • getVersion

        public java.lang.String getVersion()
        Description copied from interface: DeviceService
        Returns the version number of the device platform.
        Specified by:
        getVersion in interface DeviceService
        Returns:
        The device version.
      • isWearable

        public boolean isWearable()
        Description copied from interface: DeviceService
        Returns true if the device is a wearable
        Specified by:
        isWearable in interface DeviceService
        Returns:
        true if the device is a wearable