java.lang.Object
com.smartdevicelink.proxy.RPCStruct
Parameter List
Name | Type | Description | SmartDeviceLink Ver. Available |
---|---|---|---|
longitudeDegrees | Double | Minvalue: - 180 Maxvalue: 180 | SmartDeviceLink 2.0 |
latitudeDegrees | Double | Minvalue: - 90Maxvalue: 90 | SmartDeviceLink 2.0 |
utcYear | Integer | Minvalue: 2010Maxvalue: 2100 | SmartDeviceLink 2.0 |
utcMonth | Integer | Minvalue: 1Maxvalue: 12 | SmartDeviceLink 2.0 |
utcDay | Integer | Minvalue: 1Maxvalue: 31 | SmartDeviceLink 2.0 |
utcHours | Integer | Minvalue: 0Maxvalue: 23 | SmartDeviceLink 2.0 |
utcMinutes | Integer | Minvalue: 0Maxvalue: 59 | SmartDeviceLink 2.0 |
utcSeconds | Integer | Minvalue: 0Maxvalue: 59 | SmartDeviceLink 2.0 |
pdop | Integer | Positional Dilution of Precision. If undefined or unavailable, then value shall be set to 0.Minvalue: 0Maxvalue: 1000 | SmartDeviceLink 2.0 |
hdop | Integer | Horizontal Dilution of Precision. If value is unknown, value shall be set to 0.Minvalue: 0Maxvalue: 1000 | SmartDeviceLink 2.0 |
vdop | Integer | Vertical Dilution of Precision. If value is unknown, value shall be set to 0.Minvalue: 0Maxvalue: 1000 | SmartDeviceLink 2.0 |
actual | Boolean | True, if coordinates are based on satellites. False, if based on dead reckoning | SmartDeviceLink 2.0 |
satellites | Integer | Number of satellites in view Minvalue: 0 Maxvalue: 31 | SmartDeviceLink 2.0 |
altitude | Integer | Altitude in meters Minvalue: -10000 Maxvalue: 10000 Note: SYNC uses Mean Sea Level for calculating GPS. | SmartDeviceLink 2.0 |
heading | Double | The heading. North is 0, East is 90, etc. Minvalue: 0 Maxvalue: 359.99 Resolution is 0.01 | SmartDeviceLink 2.0 |
speed | Integer | The speed in KPH Minvalue: 0 Maxvalue: 500 | SmartDeviceLink 2.0 |
public static final java.lang.String KEY_LONGITUDE_DEGREES
public static final java.lang.String KEY_LATITUDE_DEGREES
public static final java.lang.String KEY_UTC_YEAR
public static final java.lang.String KEY_UTC_MONTH
public static final java.lang.String KEY_UTC_DAY
public static final java.lang.String KEY_UTC_HOURS
public static final java.lang.String KEY_UTC_MINUTES
public static final java.lang.String KEY_UTC_SECONDS
public static final java.lang.String KEY_COMPASS_DIRECTION
public static final java.lang.String KEY_PDOP
public static final java.lang.String KEY_VDOP
public static final java.lang.String KEY_HDOP
public static final java.lang.String KEY_ACTUAL
public static final java.lang.String KEY_SATELLITES
public static final java.lang.String KEY_DIMENSION
public static final java.lang.String KEY_ALTITUDE
public static final java.lang.String KEY_HEADING
public static final java.lang.String KEY_SPEED
public static final java.lang.String KEY_SHIFTED
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
Constructs a newly allocated GPSData object
public GPSData()
Constructs a newly allocated GPSData object indicated by the Hashtable parameter
public GPSData(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Constructs a newly allocated GPSData object
public GPSData(Double longitudeDegrees,Double latitudeDegrees)
set longitude degrees
public com.smartdevicelink.proxy.rpc.GPSData setLongitudeDegrees(Double longitudeDegrees)
get longitude degrees
public java.lang.Double getLongitudeDegrees()
set latitude degrees
public com.smartdevicelink.proxy.rpc.GPSData setLatitudeDegrees(Double latitudeDegrees)
get latitude degrees
public java.lang.Double getLatitudeDegrees()
set utc year
public com.smartdevicelink.proxy.rpc.GPSData setUtcYear(Integer utcYear)
get utc year
public java.lang.Integer getUtcYear()
set utc month
public com.smartdevicelink.proxy.rpc.GPSData setUtcMonth(Integer utcMonth)
get utc month
public java.lang.Integer getUtcMonth()
set utc day
public com.smartdevicelink.proxy.rpc.GPSData setUtcDay(Integer utcDay)
get utc day
public java.lang.Integer getUtcDay()
set utc hours
public com.smartdevicelink.proxy.rpc.GPSData setUtcHours(Integer utcHours)
get utc hours
public java.lang.Integer getUtcHours()
set utc minutes
public com.smartdevicelink.proxy.rpc.GPSData setUtcMinutes(Integer utcMinutes)
get utc minutes
public java.lang.Integer getUtcMinutes()
set utc seconds
public com.smartdevicelink.proxy.rpc.GPSData setUtcSeconds(Integer utcSeconds)
get utc seconds
public java.lang.Integer getUtcSeconds()
public com.smartdevicelink.proxy.rpc.GPSData setCompassDirection(CompassDirection compassDirection)
public com.smartdevicelink.proxy.rpc.enums.CompassDirection getCompassDirection()
set the positional dilution of precision
public com.smartdevicelink.proxy.rpc.GPSData setPdop(Double pdop)
get the positional dilution of precision
public java.lang.Double getPdop()
set the horizontal dilution of precision
public com.smartdevicelink.proxy.rpc.GPSData setHdop(Double hdop)
get the horizontal dilution of precision
public java.lang.Double getHdop()
set the vertical dilution of precision
public com.smartdevicelink.proxy.rpc.GPSData setVdop(Double vdop)
get the vertical dilution of precision
public java.lang.Double getVdop()
set what coordinates based on
public com.smartdevicelink.proxy.rpc.GPSData setActual(Boolean actual)
get what coordinates based on
public java.lang.Boolean getActual()
set the number of satellites in view
public com.smartdevicelink.proxy.rpc.GPSData setSatellites(Integer satellites)
get the number of satellites in view
public java.lang.Integer getSatellites()
public com.smartdevicelink.proxy.rpc.GPSData setDimension(Dimension dimension)
public com.smartdevicelink.proxy.rpc.enums.Dimension getDimension()
set altitude in meters
public com.smartdevicelink.proxy.rpc.GPSData setAltitude(Double altitude)
get altitude in meters
public java.lang.Double getAltitude()
set the heading.North is 0, East is 90, etc.
public com.smartdevicelink.proxy.rpc.GPSData setHeading(Double heading)
get the heading
public java.lang.Double getHeading()
set speed in KPH
public com.smartdevicelink.proxy.rpc.GPSData setSpeed(Double speed)
get the speed in KPH
public java.lang.Double getSpeed()
Sets the shifted param for GPSData.
public com.smartdevicelink.proxy.rpc.GPSData setShifted(Boolean shifted)
Gets the shifted param for GPSData.
public java.lang.Boolean getShifted()
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 |