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