- 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.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
-
-
-
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 interfaceDeviceService
- 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 interfaceDeviceService
- 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 interfaceDeviceService
- 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 interfaceDeviceService
- 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 interfaceDeviceService
- Returns:
- true if the device is a wearable
-
-