- java.lang.Object
-
- com.gluonhq.attach.device.impl.IOSDeviceService
-
- All Implemented Interfaces:
DeviceService
public class IOSDeviceService extends java.lang.Object implements DeviceService
-
-
Constructor Summary
Constructors Constructor Description IOSDeviceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetModel()Returns the name of the device's model or product.java.lang.StringgetPlatform()Returns the platform string that the operating system uses to identify itself.java.lang.StringgetUuid()Returns the device's universally unique identifier.java.lang.StringgetVersion()Returns the version number of the device platform.booleanisWearable()Returns true if the device is a wearable
-
-
-
Method Detail
-
getModel
public java.lang.String getModel()
Description copied from interface:DeviceServiceReturns 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:
getModelin interfaceDeviceService- Returns:
- The device model.
-
getUuid
public java.lang.String getUuid()
Description copied from interface:DeviceServiceReturns the device's universally unique identifier.- Specified by:
getUuidin interfaceDeviceService- Returns:
- The device UUID.
-
getPlatform
public java.lang.String getPlatform()
Description copied from interface:DeviceServiceReturns the platform string that the operating system uses to identify itself.- Specified by:
getPlatformin interfaceDeviceService- Returns:
- The device platform.
-
getVersion
public java.lang.String getVersion()
Description copied from interface:DeviceServiceReturns the version number of the device platform.- Specified by:
getVersionin interfaceDeviceService- Returns:
- The device version.
-
isWearable
public boolean isWearable()
Description copied from interface:DeviceServiceReturns true if the device is a wearable- Specified by:
isWearablein interfaceDeviceService- Returns:
- true if the device is a wearable
-
-