Class Device

java.lang.Object
com.vuzix.connectivity.sdk.Device

public class Device extends Object
The Device class represents a remote device that can be communicated with.
  • 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

      public String getName()
      Returns the name of the device.
      Returns:
      the name of the device as a String
    • getType

      public 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object