Class OrtHardwareDevice


  • public final class OrtHardwareDevice
    extends java.lang.Object
    Hardware information for a specific device.
    • Method Detail

      • getVendorId

        public int getVendorId()
        Gets the vendor ID number.
        Returns:
        The vendor ID number.
      • getDeviceId

        public int getDeviceId()
        Gets the device ID number.
        Returns:
        The device ID number.
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.String> getMetadata()
        Gets an unmodifiable view on the device metadata.
        Returns:
        The device metadata.
      • getVendor

        public java.lang.String getVendor()
        Gets the vendor name.
        Returns:
        The vendor name.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object