java.lang.Object
com.smartdevicelink.proxy.RPCStruct
Parameter List
Name | Type | Description | Reg. | Notes | Version |
---|---|---|---|---|---|
hardware | String | Device model | N | Max Length: 500 | SmartDeviceLink 3.0 |
firmwareRev | String | Device firmware revision | N | Max Length: 500 | SmartDeviceLink 3.0 |
os | String | Device OS version | N | Max Length: 500 | SmartDeviceLink 3.0 |
osVersion | String | Device OS version | N | Max Length: 500 | SmartDeviceLink 3.0 |
carrier | String | Device mobile carrier (if applicable) | N | Max Length: 500 | SmartDeviceLink 3.0 |
maxNumberRFCOMMPorts | Integer | Omitted if connected not via BT. | N | Min Value: 0; Max Value: 100 | SmartDeviceLink 3.0 |
public static final java.lang.String KEY_HARDWARE
public static final java.lang.String KEY_FIRMWARE_REV
public static final java.lang.String KEY_OS
public static final java.lang.String KEY_OS_VERSION
public static final java.lang.String KEY_CARRIER
public static final java.lang.String KEY_MAX_NUMBER_RFCOMM_PORTS
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
public DeviceInfo()
Constructs a new DeviceInfo object indicated by the Hashtable parameter
public DeviceInfo(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
public com.smartdevicelink.proxy.rpc.DeviceInfo setHardware(String hardware)
public java.lang.String getHardware()
public com.smartdevicelink.proxy.rpc.DeviceInfo setFirmwareRev(String firmwareRev)
public java.lang.String getFirmwareRev()
public com.smartdevicelink.proxy.rpc.DeviceInfo setOs(String os)
public java.lang.String getOs()
public com.smartdevicelink.proxy.rpc.DeviceInfo setOsVersion(String osVersion)
public java.lang.String getOsVersion()
public com.smartdevicelink.proxy.rpc.DeviceInfo setCarrier(String carrier)
public java.lang.String getCarrier()
public java.lang.Integer getMaxNumberRFCOMMPorts()
public com.smartdevicelink.proxy.rpc.DeviceInfo setMaxNumberRFCOMMPorts(Integer maxNumberRFCOMMPorts)
From Class | Methods |
---|---|
com.smartdevicelink.proxy.RPCStruct | getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |