Package com.vuzix.connectivity.sdk
Class Device
java.lang.Object
com.vuzix.connectivity.sdk.Device
The Device class represents a remote device that can be communicated with.
-
Method Summary
-
Method Details
-
getId
public long getId()Returns the id of the device. This id is not globally unique and should not be treated as such.- Returns:
- the id of the device
-
getName
Returns the name of the device.- Returns:
- the name of the device as a String
-
getType
Returns the type of remote device. When called from a Vuzix device, this will give you the operating system of the remote device (Android or iOS). When called from a companion device, this will give you the model of the Vuzix device. If type cannot be determined, null will be returned.- Returns:
- the type of remote device or null if not known
-
equals
-
hashCode
public int hashCode()
-