CarHardwareLocation
@CarProtocol
@RequiresCarApi(value = 3)
class CarHardwareLocation
Information about car specific car location available from the car hardware.
Summary
Public constructors |
|---|
CarHardwareLocation(location: CarValue<Location!>)Creates an |
Public functions |
|
|---|---|
Boolean |
|
CarValue<Location!> |
Returns the raw location data from the car sensor. |
Int |
hashCode() |
String |
toString() |
Public constructors
CarHardwareLocation
Added in 1.1.0
CarHardwareLocation(location: CarValue<Location!>)
Creates an CarHardwareLocation with the given raw data.
| Throws | |
|---|---|
java.lang.NullPointerException |
if |
Public functions
getLocation
Added in 1.1.0
fun getLocation(): CarValue<Location!>
Returns the raw location data from the car sensor.